mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 31 Mar 2021 08:17:52 +0000 (11:17 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 31 Mar 2021 12:49:32 +0000 (14:49 +0200)
commit2970134b927834e9249659a70aac48e62dff804a
treedc0ea771336db83a85d49501707a222f25b2b44b
parent47805532eb65946fc14068c6d55ba0a6bedbd693
mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers

Bus power may control card power, but the full reset done by SDHCI at
initialization still may not reset the power, whereas a direct write to
SDHCI_POWER_CONTROL can. That might be needed to initialize correctly, if
the card was left powered on previously.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210331081752.23621-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c