diff options
author | BOUGH CHEN <haibo.chen@nxp.com> | 2018-12-28 09:35:46 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-25 08:40:58 +0100 |
commit | d00ab1010c2e8e7e710697c39fb9b7e4fa7dd9c1 (patch) | |
tree | 3f57b74c6ee74125414cfed59d010420c88de04a /drivers/mmc/host | |
parent | mmc: sdhci-esdhc-imx: add SD clock limitation for imx6ull (diff) | |
download | linux-d00ab1010c2e8e7e710697c39fb9b7e4fa7dd9c1.tar.xz linux-d00ab1010c2e8e7e710697c39fb9b7e4fa7dd9c1.zip |
mmc: sdhci-esdhc-imx: add delay between tuning cycles
It's observed that i.MX uSDHC needed delay between tuning
cycles for HS200 successful tuning. This patch is to set 1ms
delay for that.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 2e50e71cdae5..16b2840bc05a 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1390,6 +1390,8 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) if (err) goto disable_ahb_clk; + host->tuning_delay = 1; + sdhci_esdhc_imx_hwinit(host); err = sdhci_add_host(host); |