Commit 04cf585d authored by Pierre Ossman's avatar Pierre Ossman

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: default avatarPierre Ossman <drzeus@drzeus.cx>
parent e809517f
...@@ -1154,7 +1154,7 @@ static void sdhci_tasklet_card(unsigned long param) ...@@ -1154,7 +1154,7 @@ static void sdhci_tasklet_card(unsigned long param)
spin_unlock_irqrestore(&host->lock, flags); 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) static void sdhci_tasklet_finish(unsigned long param)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment