aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mmc/host/sdhci-msm.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-08-31 15:10:32 -0600
committerUlf Hansson <ulf.hansson@linaro.org>2020-09-07 08:57:44 +0200
commit2cf9bfe9be75ed3656bbf882fb70c3e3047866e4 (patch)
treeae43ebd3aac788f05c5daeba51d4e5e1f5744231 /drivers/mmc/host/sdhci-msm.c
parentLinux 5.9-rc4 (diff)
downloadwireguard-linux-2cf9bfe9be75ed3656bbf882fb70c3e3047866e4.tar.xz
wireguard-linux-2cf9bfe9be75ed3656bbf882fb70c3e3047866e4.zip
mmc: sdhci-acpi: Clear amd_sdhci_host on reset
The commit 61d7437ed1390 ("mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040") broke resume for eMMC HS400. When the system suspends the eMMC controller is powered down. So, on resume we need to reinitialize the controller. Although, amd_sdhci_host was not getting cleared, so the DLL was never re-enabled on resume. This results in HS400 being non-functional. To fix the problem, this change clears the tuned_clock flag, clears the dll_enabled flag and disables the DLL on reset. Fixes: 61d7437ed1390 ("mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040") Signed-off-by: Raul E Rangel <rrangel@chromium.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20200831150517.1.I93c78bfc6575771bb653c9d3fca5eb018a08417d@changeid Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions