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 18:02:29 +0900 |
commit | 28564f0893750f52085744d5d5728fc7631eefb6 (patch) | |
tree | ad20f02386373806b7d429338ded3f5fd47e03fb /arch/sh/drivers | |
parent | 6b32fafee2bb5fcf0b3d3d04a9762d3a0212089e (diff) | |
download | linux-28564f0893750f52085744d5d5728fc7631eefb6.tar.gz linux-28564f0893750f52085744d5d5728fc7631eefb6.tar.bz2 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')
-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) { |