diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-20 12:37:40 (GMT) |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-07-15 09:02:29 (GMT) |
commit | 28564f0893750f52085744d5d5728fc7631eefb6 (patch) | |
tree | ad20f02386373806b7d429338ded3f5fd47e03fb /arch/sh/drivers/dma | |
parent | 6b32fafee2bb5fcf0b3d3d04a9762d3a0212089e (diff) | |
download | linux-28564f0893750f52085744d5d5728fc7631eefb6.tar.xz |
sh: dma: Use defines instead of hardcoded numbers
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/sh/drivers/dma')
-rw-r--r-- | arch/sh/drivers/dma/dma-sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c index b225656..afde2a7 100644 --- a/arch/sh/drivers/dma/dma-sh.c +++ b/arch/sh/drivers/dma/dma-sh.c @@ -25,7 +25,7 @@ * Define the default configuration for dual address memory-memory transfer. * The 0x400 value represents auto-request, external->external. */ -#define RS_DUAL (DM_INC | SM_INC | 0x400 | TS_INDEX2VAL(XMIT_SZ_32BIT)) +#define RS_DUAL (DM_INC | SM_INC | RS_AUTO | TS_INDEX2VAL(XMIT_SZ_32BIT)) static unsigned long dma_find_base(unsigned int chan) { |