Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <drzeus@drzeus.cx>

+1 -1
+1 -1
drivers/mmc/host/sdhci.c
··· 1154 1154 1155 1155 spin_unlock_irqrestore(&host->lock, flags); 1156 1156 1157 - mmc_detect_change(host->mmc, msecs_to_jiffies(500)); 1157 + mmc_detect_change(host->mmc, msecs_to_jiffies(200)); 1158 1158 } 1159 1159 1160 1160 static void sdhci_tasklet_finish(unsigned long param)