tmio_mmc: Use 100ms mmc_detect_change() delay
[safe/jmp/linux-2.6] / drivers / mmc / host / tmio_mmc.c
index e2c0cc9..7b2376d 100644 (file)
@@ -323,7 +323,7 @@ static irqreturn_t tmio_mmc_irq(int irq, void *devid)
                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 */