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>
This commit is contained in:

committato da
Ulf Hansson

parent
20dd03734c
commit
ee28981535
@@ -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
|
||||
|
Fai riferimento in un nuovo problema
Block a user