From: Pierre Ossman Date: Mon, 18 Aug 2008 20:18:14 +0000 (+0200) Subject: sdhci: reduce card detection delay X-Git-Tag: v3.12-rc1~18207^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04cf585d2902404ed06861c6dc27897100340dba;p=kernel%2Fkernel-generic.git sdhci: reduce card detection delay The card detection delay was added early when the behaviour of the card interrupt was still very much unknown (i.e. before there was a public specification). As it is now known that it is a debounced signal, reduce the delay to something more sensible. Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index ef46127..fd2dc82 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1154,7 +1154,7 @@ static void sdhci_tasklet_card(unsigned long param) spin_unlock_irqrestore(&host->lock, flags); - mmc_detect_change(host->mmc, msecs_to_jiffies(500)); + mmc_detect_change(host->mmc, msecs_to_jiffies(200)); } static void sdhci_tasklet_finish(unsigned long param)