]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24d898c63dde837202392371aa1b63d331d852f7
tree721b4f4bb77767c0928fd98b322b433c8dc217a7
parent752b9c24b5d1060e11b94d11396f5f65d17a13da
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