Skip to content

Commit

Permalink
mmc: sdhci-esdhc-imx: add delay between tuning cycles
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
BOUGH CHEN authored and Ulf Hansson committed Feb 25, 2019
1 parent af6a50d commit d00ab10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mmc/host/sdhci-esdhc-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d00ab10

Please sign in to comment.