]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-esdhc: poll ESDHC_CLOCK_STABLE bit with udelay
authoryangbo lu <yangbo.lu@nxp.com>
Wed, 26 Apr 2017 02:45:49 +0000 (10:45 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 28 Apr 2017 10:35:27 +0000 (12:35 +0200)
commit785342a48bc77aff1eb536a9e605c7d5f07f20de
tree034830c2ecd85c51ce7f2609937396190ceef159
parent88b82dcf8e702c5d692ec93de30ee5412cec0871
mmc: sdhci-of-esdhc: poll ESDHC_CLOCK_STABLE bit with udelay

The loop to poll ESDHC_CLOCK_STABLE bit with mdelay would waste time
because the time to stabilize is much less than 1 ms. This patch is
to use udelay instead to avoid time wasting.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c