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>
This commit is contained in:
@@ -1390,6 +1390,8 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
|
|||||||
if (err)
|
if (err)
|
||||||
goto disable_ahb_clk;
|
goto disable_ahb_clk;
|
||||||
|
|
||||||
|
host->tuning_delay = 1;
|
||||||
|
|
||||||
sdhci_esdhc_imx_hwinit(host);
|
sdhci_esdhc_imx_hwinit(host);
|
||||||
|
|
||||||
err = sdhci_add_host(host);
|
err = sdhci_add_host(host);
|
||||||
|
Reference in New Issue
Block a user