omap_hsmmc: Flush posted write to IRQ
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 6 Apr 2009 12:01:19 +0000 (15:01 +0300)
committerPierre Ossman <pierre@ossman.eu>
Wed, 8 Apr 2009 18:35:55 +0000 (20:35 +0200)
commit00adadc12196c7b3e8923729e728162267e98ff7
tree721b4f4bb77767c0928fd98b322b433c8dc217a7
parent32710e8fd537adeb53f98dec92e4a77caac512f5
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: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/omap_hsmmc.c