From b420f201e8c3bba92606fb98a032ee019804835d Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Wed, 1 Apr 2009 23:12:47 +0000 Subject: [PATCH] MMC: OMAP: flush posted write to IRQ Spurious IRQs seen on MMC after 2.6.29. Flush posted write in IRQ handler. Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- drivers/mmc/host/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 3916a5618e2..4270676f33f 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -464,6 +464,7 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id) } OMAP_HSMMC_WRITE(host->base, STAT, status); + OMAP_HSMMC_READ(host->base, STAT); /* flush posted write */ if (end_cmd || (status & CC)) mmc_omap_cmd_done(host, host->cmd); -- 2.41.1