diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-11-22 07:42:30 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-12 05:58:41 +0100 |
commit | 4ee5ebaf74ba1b3e2e3f9aad442bf38db96c20d2 (patch) | |
tree | 56a297a412e743e380b70070cd887ba890acb44f /drivers/mmc/host/sdhci-esdhc.h | |
parent | mmc: mmc_test: align max_seg_size (diff) | |
download | linux-4ee5ebaf74ba1b3e2e3f9aad442bf38db96c20d2.tar.xz linux-4ee5ebaf74ba1b3e2e3f9aad442bf38db96c20d2.zip |
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 <tony.lin@freescale.com>
CC: Xiaobo Xie <X.Xie@freescale.com>
CC: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc.h')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |