]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Clear tuning done flag while hs400 tuning
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Thu, 28 May 2020 15:13:52 +0000 (20:43 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2020 06:04:40 +0000 (08:04 +0200)
commita0e877b82cf2b9d26f59246811b9986e3d0d80ba
treea89f58459ea1f0232c1e334b1ab4ae717f314036
parent2f6a7d8c0ab610997f0eb2ca964017f5fb69327f
mmc: sdhci-msm: Clear tuning done flag while hs400 tuning

Clear tuning_done flag while executing tuning to ensure vendor
specific HS400 settings are applied properly when the controller
is re-initialized in HS400 mode.

Without this, re-initialization of the qcom SDHC in HS400 mode fails
while resuming the driver from runtime-suspend or system-suspend.

Fixes: 64543d204dbf ("mmc: sdhci-msm: Add HS400 platform support")
Cc: stable@vger.kernel.org
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Link: https://lore.kernel.org/r/1590678838-18099-1-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c