diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-08-31 13:28:37 +0800 |
---|---|---|
committer | Tony Lin <tony.lin@freescale.com> | 2011-09-01 15:43:08 +0800 |
commit | dc2b325101e47851c7994964c2614273b99422fe (patch) | |
tree | e3fa606c3ee9d5d99df306cb45f04943691df2d5 /drivers | |
parent | 041c981279eb31b0c4307f999d90f74048e7bc80 (diff) |
ENGR00155612-4 [mx6q]change the delay after clock frequence change to 1ms
100ms is too long delay, thus it impact other tasks scheduling.
for example, nfs reports timeout if two sd card is inserted because the
100ms delay occupies cpu too long.
1ms value is evaluated by IC engineer.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'drivers')
-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 c78ce0c72ad..8ee1d622c56 100644 --- a/drivers/mmc/host/sdhci-esdhc.h +++ b/drivers/mmc/host/sdhci-esdhc.h @@ -87,7 +87,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); /* if there's board callback function * for pad setting change, that means |