* [PATCH] MMC: OMAP: flush posted write to IRQ
@ 2009-04-01 23:12 Kevin Hilman
2009-04-03 23:50 ` [APPLIED] " Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2009-04-01 23:12 UTC (permalink / raw)
To: linux-omap; +Cc: Kevin Hilman
Spurious IRQs seen on MMC after 2.6.29. Flush posted write in IRQ
handler.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
drivers/mmc/host/omap_hsmmc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 3916a56..4270676 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);
--
1.6.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-03 23:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 23:12 [PATCH] MMC: OMAP: flush posted write to IRQ Kevin Hilman
2009-04-03 23:50 ` [APPLIED] " Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox