From: Tony Lin Date: Tue, 22 Nov 2011 06:42:30 +0000 (+0800) Subject: mmc: sdhci-esdhc: Change delay after setting clock from 100ms to 1ms X-Git-Tag: next-20111202~38^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=73d3b7456a20d46f2248440f903c49dce7605057;p=karo-tx-linux.git mmc: sdhci-esdhc: Change delay after setting clock from 100ms to 1ms 1ms is enough for hardware to change the clock to stable. 100ms is too long in the tasklet. Signed-off-by: Tony Lin CC: Xiaobo Xie CC: Anton Vorontsov Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h index c3b08f111942..b97b2f5dafdb 100644 --- a/drivers/mmc/host/sdhci-esdhc.h +++ b/drivers/mmc/host/sdhci-esdhc.h @@ -73,7 +73,7 @@ static inline void esdhc_set_clock(struct sdhci_host *host, unsigned int clock) | (div << ESDHC_DIVIDER_SHIFT) | (pre_div << ESDHC_PREDIV_SHIFT)); sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); - mdelay(100); + mdelay(1); out: host->clock = clock; }