summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authoryangbo lu <yangbo.lu@nxp.com>2017-04-20 16:14:44 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 21:42:27 +0200
commit6b236f37b0fa88fac93e6782fd25cbf9907e5048 (patch)
treeaadb087e96868a874037309e99e545038f8b1586 /drivers/mmc
parent83b600b8de0e83661a8f40091a7966fac052a21b (diff)
downloadlinux-6b236f37b0fa88fac93e6782fd25cbf9907e5048.tar.bz2
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 607e5122e1a1..7518360c03d2 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -810,6 +810,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);