Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9b46ab6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: sdhci_msm: Allow turning off SD card's power during initialization"

parents 6e391695 a4ecc72f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)