OSDN Git Service

mmc: sdhci-esdhc-imx: Reset before sending tuning command for manual tuning
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 11 Aug 2020 08:37:37 +0000 (16:37 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 07:11:28 +0000 (09:11 +0200)
commit0ac4f496a2d46d5fe320d7034c792df4a5907c46
tree0a419e19216cc393411086538921a6279c8f3405
parent309de450d78e9e83036f8b696596d8e7aa078f0d
mmc: sdhci-esdhc-imx: Reset before sending tuning command for manual tuning

According to IC suggestion, everytime before sending the tuning command,
need to reset the usdhc, so to reset the tuning circuit, to let every
tuning command work well for the manual tuning method. For standard tuning
method, IC already add the reset operation in the hardware logic.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1597135057-22272-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c