]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
MMC: OMAP: flush posted write to IRQ
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 1 Apr 2009 23:12:47 +0000 (23:12 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Apr 2009 23:50:49 +0000 (16:50 -0700)
Spurious IRQs seen on MMC after 2.6.29.  Flush posted write in IRQ
handler.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c

index 3916a5618e288e4cd5680a1127ce025efcc8b387..4270676f33f6d1bee3b2c3b632c727526e637442 100644 (file)
@@ -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);