diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-20 14:37:40 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-07-15 11:02:29 +0200 |
commit | 28564f0893750f52085744d5d5728fc7631eefb6 (patch) | |
tree | ad20f02386373806b7d429338ded3f5fd47e03fb /arch/sh/drivers/dma/dma-sh.c | |
parent | dmaengine: shdma: Add more register documentation (diff) | |
download | linux-28564f0893750f52085744d5d5728fc7631eefb6.tar.xz linux-28564f0893750f52085744d5d5728fc7631eefb6.zip |
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/dma-sh.c')
-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 b22565623142..afde2a7d3eb3 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) { |