diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-05 13:21:29 (GMT) |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-20 00:09:23 (GMT) |
commit | fe8abe0bc2afb20b126e7e0759081dc0df2cd60d (patch) | |
tree | 472261fdd4744c223ba5e732c252435b426c8922 /arch/arm/mach-shmobile/dma-register.h | |
parent | f2acab52e77650044b0772a6d7abbfef1eb4cede (diff) | |
download | linux-fe8abe0bc2afb20b126e7e0759081dc0df2cd60d.tar.xz |
ARM: shmobile: 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/arm/mach-shmobile/dma-register.h')
-rw-r--r-- | arch/arm/mach-shmobile/dma-register.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/dma-register.h b/arch/arm/mach-shmobile/dma-register.h index 97c40bd..52a2f66 100644 --- a/arch/arm/mach-shmobile/dma-register.h +++ b/arch/arm/mach-shmobile/dma-register.h @@ -52,8 +52,8 @@ static const unsigned int dma_ts_shift[] = { ((((i) & TS_LOW_BIT) << TS_LOW_SHIFT) |\ (((i) & TS_HI_BIT) << TS_HI_SHIFT)) -#define CHCR_TX(xmit_sz) (DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL((xmit_sz))) -#define CHCR_RX(xmit_sz) (DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL((xmit_sz))) +#define CHCR_TX(xmit_sz) (DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL((xmit_sz))) +#define CHCR_RX(xmit_sz) (DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL((xmit_sz))) /* |