]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap_hsmmc: Flush posted write to IRQ
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 7 Apr 2009 23:33:35 +0000 (16:33 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 7 Apr 2009 23:33:35 +0000 (16:33 -0700)
commit1bf8d6366435958b15a4091e7d4fdd1fa8ebc9e2
tree03da5edd80a7da084a7cb5cc5a08b01d544fa19d
parent5dfa79bb765fa132dbc94e4ac40a13e9dfad34d2
omap_hsmmc: Flush posted write to IRQ

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

The interrupt line is released by clearing the error status bits
in the MMCHS_STAT register, which must occur before the interrupt
handler returns to avoid unwanted irqs.  Hence the need to flush
the posted write.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Tony Lindgen <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c