diff mbox

tmio_mmc: use 100ms mmc_detect_change() delay

Message ID 20100215121229.23116.16376.sendpatchset@t400s (mailing list archive)
State Superseded
Headers show

Commit Message

Magnus Damm Feb. 15, 2010, 12:12 p.m. UTC
None
diff mbox

Patch

--- 0001/drivers/mmc/host/tmio_mmc.c
+++ work/drivers/mmc/host/tmio_mmc.c	2010-02-15 20:28:15.000000000 +0900
@@ -323,7 +323,7 @@  static irqreturn_t tmio_mmc_irq(int irq,
 		if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) {
 			ack_mmc_irqs(host, TMIO_STAT_CARD_INSERT |
 				TMIO_STAT_CARD_REMOVE);
-			mmc_detect_change(host->mmc, 0);
+			mmc_detect_change(host->mmc, msecs_to_jiffies(100));
 		}
 
 		/* CRC and other errors */