diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-06-30 12:56:48 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:25 +0200 |
commit | 5af02d3209d08f329d46024fe24b7a9c447b3e87 (patch) | |
tree | 4972f90a8ea49c99fb5f302b7b65016d8a212596 /drivers/mmc/host/tmio_mmc.h | |
parent | c78e1694d005c1bfa4f15dd20ab4a7856a3106f0 (diff) | |
download | lwn-5af02d3209d08f329d46024fe24b7a9c447b3e87.tar.gz lwn-5af02d3209d08f329d46024fe24b7a9c447b3e87.zip |
mmc: tmio: no magic values when enabling DMA
Use a proper define.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index e3e96178acaa..3e6ff8921440 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -97,6 +97,9 @@ #define TMIO_SDIO_SETBITS_MASK 0x0006 +/* Definitions for values the CTL_DMA_ENABLE register can take */ +#define DMA_ENABLE_DMASDRW BIT(1) + /* Define some IRQ masks */ /* This is the mask used at reset by the chip */ #define TMIO_MASK_ALL 0x837f031d |