diff mbox

[049/123] tmio_mmc: dont clear unhandled pending interrupts

Message ID 20100918185957.010472560@clark.site (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Greg Kroah-Hartman Sept. 18, 2010, 6:58 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)