diff mbox

MMC: OMAP: flush posted write to IRQ

Message ID 1238627567-19753-1-git-send-email-khilman@deeprootsystems.com (mailing list archive)
State Accepted
Commit b420f201e8c3bba92606fb98a032ee019804835d
Headers show

Commit Message

Kevin Hilman April 1, 2009, 11:12 p.m. UTC
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(-)

Comments

Tony Lindgren April 3, 2009, 11:50 p.m. UTC | #1
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Commit: b420f201e8c3bba92606fb98a032ee019804835d

PatchWorks
http://patchwork.kernel.org/patch/15779/

Git
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=b420f201e8c3bba92606fb98a032ee019804835d


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);