summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZhoujie Wu <zjwu@marvell.com>2017-08-03 22:28:40 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:01:50 +0300
commit70bc85ad1f32408ed92474c2e4d4db6e9714dcf3 (patch)
tree64c54b8df0138f1d2d66faa57dedcdb6e3280639 /include/linux
parentb939e0b73ec036dca33c920db1b60a8c1c88371e (diff)
downloadlinux-70bc85ad1f32408ed92474c2e4d4db6e9714dcf3.tar.xz
mmc: sdhci: ignore restoring the I/O state if MMC_POWER_OFF
One issue was found on a removable high speed sd card with runtime pm enabled. When SD card is unplugged, it keep printing "Switching to 3.3V signalling voltage failed". And found below sequence triggers the error. mmc_rescan -> mmc_sd_detect -> mmc_power_off -- mmc->ios.vdd is updated to 0. -> mmc_claim_host -> sdhci_runtime_resume_host -> sdhci_start_signal_voltage_switch -> mmc_regulator_set_vqmmc -> mmc_ocrbitnum_to_vdd When mmc_ocrbitnum_to_vdd is called, the mmc->ios.vdd is 0, so it always return -EINVAL. The signal switch will always fail and print out warning. Ignore restoring the I/O state when runtime resume if MMC_POWER_OFF. Signed-off-by: Zhoujie Wu <zjwu@marvell.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions