Skip to content

Commit

Permalink
sdhci: reduce card detection delay
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman committed Oct 12, 2008
1 parent e809517 commit 04cf585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04cf585

Please sign in to comment.