]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 9 Oct 2017 07:24:01 +0000 (10:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2017 08:39:12 +0000 (10:39 +0200)
commite8194caabdf1c292a07138806f3d9a894cb41a49
treed0a578f25fb17d4ef205a050e7bb148338d676d6
parent8b1e10789c840109c9dd024c9b52ba23b690b7c4
mmc: sdhci-pci: Fix default d3_retune for Intel host controllers

commit eb701ce16a45ed9880897c48f05ee608d77c72e3 upstream.

The default for d3_retune is true, but that was not being set in all cases,
which results in eMMC errors because re-tuning has not been done.
Fix by initializing d3_retune to true.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: c959a6b00ff5 ("mmc: sdhci-pci: Don't re-tune with runtime pm for some Intel devices")
Reported-and-tested-by: ojab <ojab@ojab.ru>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci-core.c