summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authoryangbo lu <yangbo.lu@nxp.com>2017-04-20 08:14:44 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-07-14 10:28:40 (GMT)
commitef0762b4c4112cc6b71fb0a89c5b9abd08b73374 (patch)
treec3d57a6afb120e5a65ba96e699b9829f996e23e3 /drivers/mmc
parenta592a99d1fd87dc6830406daec5b88a35751a821 (diff)
downloadlinux-ef0762b4c4112cc6b71fb0a89c5b9abd08b73374.tar.xz
mmc: sdhci-of-esdhc: add delay between tuning cycles
It's observed that eSDHC needed delay between tuning cycles for HS200 successful tuning. This patch is to set 1ms delay for that. 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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index 570d441..d10f831 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -820,6 +820,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
host->mmc_host_ops.start_signal_voltage_switch =
esdhc_signal_voltage_switch;
host->mmc_host_ops.execute_tuning = esdhc_execute_tuning;
+ host->tuning_delay = 1;
esdhc_init(pdev, host);