diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-20 14:37:41 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-07-15 11:02:29 +0200 |
commit | 0cdbee33ea42bfd5f61f824e258a1a0944dd2a27 (patch) | |
tree | 414805d4d548311de2d72b89baf5286a282289c3 /drivers/dma/sh/shdma-arm.h | |
parent | sh: dma: Use defines instead of hardcoded numbers (diff) | |
download | linux-0cdbee33ea42bfd5f61f824e258a1a0944dd2a27.tar.xz linux-0cdbee33ea42bfd5f61f824e258a1a0944dd2a27.zip |
dmaengine: shdma: 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 'drivers/dma/sh/shdma-arm.h')
-rw-r--r-- | drivers/dma/sh/shdma-arm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/sh/shdma-arm.h b/drivers/dma/sh/shdma-arm.h index a2b8258426c9..a1b0ef45d6a2 100644 --- a/drivers/dma/sh/shdma-arm.h +++ b/drivers/dma/sh/shdma-arm.h @@ -45,7 +45,7 @@ enum { ((((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))) #endif |