mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "mmc: sdhci_msm: Allow turning off SD card's power during initialization"
This commit is contained in:
commit
c9b46ab6d1
1 changed files with 2 additions and 1 deletions
|
|
@ -2156,7 +2156,8 @@ static void sdhci_msm_handle_pwr_irq(struct sdhci_host *host, int irq)
|
|||
io_level = REQ_IO_HIGH;
|
||||
}
|
||||
if (irq_status & CORE_PWRCTL_BUS_OFF) {
|
||||
if (msm_host->pltfm_init_done)
|
||||
if (!(host->mmc->caps & MMC_CAP_NONREMOVABLE) ||
|
||||
msm_host->pltfm_init_done)
|
||||
ret = sdhci_msm_setup_vreg(msm_host,
|
||||
false, false);
|
||||
if (!ret)
|
||||
|
|
|
|||
Loading…
Reference in a new issue