omap_hsmmc: clear interrupt status after init sequence
Subsystems (2)
PATCH 66/232 omap_hsmmc: clear interrupt status after init sequence
From: Adrian Hunter <[email protected]>
Clear the interrupt status after sending the initialization sequence, as specified in the TRM.
Signed-off-by Adrian Hunter <[email protected]>
Acked-by Matt Fleming <[email protected]>
Cc Ian Molton <[email protected]>
Cc "Roberto A. Foglietta" <[email protected]>
Cc Jarkko Lavinen <[email protected]>
Cc Denis Karpov <[email protected]>
Cc Pierre Ossman <[email protected]>
Cc Philip Langdale <[email protected]>
Cc "Madhusudhan" <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mmc/host/omap_hsmmc.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/mmc/host/omap_hsmmc.c renamed from drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-clear-interrupt-status-after-init-sequence +4 -0
@@ -360,6 +360,10 @@ static void send_init_stream(struct mmc_OMAP_HSMMC_WRITE (host->base,CON ,OMAP_HSMMC_READ (host->base,CON ) & ~INIT_STREAM ); + +OMAP_HSMMC_WRITE (host->base,STAT ,STAT_CLEAR ); +OMAP_HSMMC_READ (host->base,STAT ); +enable_irq (host->irq); }
_