Skip to contentSkip to conversation

MMC: OMAP: flush posted write to IRQ

PATCH New Kevin Hilman 2 participants 2 messages Apr 1, 2009 – Apr 3, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MMC: OMAP: flush posted write to IRQ

Spurious IRQs seen on MMC after 2.6.29. Flush posted write in IRQ handler.

---
 drivers/mmc/host/omap_hsmmc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/host/omap_hsmmc.c +1 -0
index 3916a56..4270676 100644
@@ -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);
Signature · 1 line
1.6.1.3