aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index d183be6f2a5f..a752788fa4e9 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -434,6 +434,8 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id)
434 if (host->mrq == NULL) { 434 if (host->mrq == NULL) {
435 OMAP_HSMMC_WRITE(host->base, STAT, 435 OMAP_HSMMC_WRITE(host->base, STAT,
436 OMAP_HSMMC_READ(host->base, STAT)); 436 OMAP_HSMMC_READ(host->base, STAT));
437 /* Flush posted write */
438 OMAP_HSMMC_READ(host->base, STAT);
437 return IRQ_HANDLED; 439 return IRQ_HANDLED;
438 } 440 }
439 441
@@ -489,6 +491,8 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id)
489 } 491 }
490 492
491 OMAP_HSMMC_WRITE(host->base, STAT, status); 493 OMAP_HSMMC_WRITE(host->base, STAT, status);
494 /* Flush posted write */
495 OMAP_HSMMC_READ(host->base, STAT);
492 496
493 if (end_cmd || (status & CC)) 497 if (end_cmd || (status & CC))
494 mmc_omap_cmd_done(host, host->cmd); 498 mmc_omap_cmd_done(host, host->cmd);