From: Adrian Hunter <adrian.hun...@nokia.com> Clear the interrupt status after sending the initialization sequence, as specified in the TRM.
Signed-off-by: Adrian Hunter <adrian.hun...@nokia.com> Acked-by: Matt Fleming <m...@console-pimps.org> Cc: Ian Molton <i...@mnementh.co.uk> Cc: "Roberto A. Foglietta" <roberto.foglie...@gmail.com> Cc: Jarkko Lavinen <jarkko.lavi...@nokia.com> Cc: Denis Karpov <ext-denis.2.kar...@nokia.com> Cc: Pierre Ossman <pie...@ossman.eu> Cc: Philip Langdale <phil...@overt.org> Cc: "Madhusudhan" <madhu...@ti.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <a...@linux-foundation.org> --- drivers/mmc/host/omap_hsmmc.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-clear-interrupt-status-after-init-sequence drivers/mmc/host/omap_hsmmc.c --- a/drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-clear-interrupt-status-after-init-sequence +++ a/drivers/mmc/host/omap_hsmmc.c @@ -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); } _ -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html