diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-01-19 21:07:18 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:20:35 +0100 |
commit | ee28981535f4261ed5d127ddf4d1a3f8778f520d (patch) | |
tree | 9f625e654d1155b004cdf695fd660a0b650a1f18 /drivers/mmc/host/tmio_mmc.h | |
parent | 20dd03734cac41a0545dd24f5e81d8ff0c80874b (diff) | |
download | linux-ee28981535f4261ed5d127ddf4d1a3f8778f520d.tar.gz linux-ee28981535f4261ed5d127ddf4d1a3f8778f520d.tar.bz2 linux-ee28981535f4261ed5d127ddf4d1a3f8778f520d.zip |
mmc: tmio: discard obsolete SDIO irqs before enabling irqs
Before enabling SDIO irqs, clear the status bit, so we discard old and
stale interrupts. Needed to get two wireless cards working. Use the
newly introduced macro in all places.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 9b2284483cdd..2b349d48fb9a 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -91,6 +91,8 @@ #define TMIO_SDIO_STAT_EXWT 0x8000 #define TMIO_SDIO_MASK_ALL 0xc007 +#define TMIO_SDIO_SETBITS_MASK 0x0006 + /* Define some IRQ masks */ /* This is the mask used at reset by the chip */ #define TMIO_MASK_ALL 0x837f031d |