Commit fd3fabdc authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

davinci: EDMA minor cleanup

Minor EDMA cleanup: remove unused SoC-specific #define; and when
requesting the channel controller region, use the device's name
(to be more useful on chips with multiple such controllers).
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 38e47671
......@@ -100,8 +100,6 @@
#define EDMA_SHADOW0 0x2000 /* 4 regions shadowing global channels */
#define EDMA_PARM 0x4000 /* 128 param entries */
#define DAVINCI_DMA_3PCC_BASE 0x01C00000
#define PARM_OFFSET(param_no) (EDMA_PARM + ((param_no) << 5))
#define EDMA_DCHMAP 0x0100 /* 64 registers */
......@@ -1215,7 +1213,7 @@ static int __init edma_probe(struct platform_device *pdev)
len = r->end - r->start + 1;
r = request_mem_region(r->start, len, r->name);
r = request_mem_region(r->start, len, dev_name(&pdev->dev));
if (!r)
return -EBUSY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment