diff mbox

Patch "tmio_mmc: don't clear unhandled pending interrupts" has been added to the 2.6.32-stable tree

Message ID 12845890561197@site (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Greg Kroah-Hartman Sept. 15, 2010, 10:17 p.m. UTC
None
diff mbox

Patch

--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -102,10 +102,7 @@ 
 
 #define ack_mmc_irqs(host, i) \
 	do { \
-		u32 mask;\
-		mask  = sd_ctrl_read32((host), CTL_STATUS); \
-		mask &= ~((i) & TMIO_MASK_IRQ); \
-		sd_ctrl_write32((host), CTL_STATUS, mask); \
+		sd_ctrl_write32((host), CTL_STATUS, ~(i)); \
 	} while (0)