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

Commit 07a520f6 authored by Sahitya Tummala's avatar Sahitya Tummala Committed by Kyle Yan
Browse files

mmc: sdhci-msm: Don't enable MMC_CAP2_FULL_PWR_CYCLE



The commit '6e2df8c0e' incorrectly sets this capability.
This needs to be set only if the host is capable of disabling
both vcc and vccq. For SDHCI MSM host controllers only vcc
is disabled during suspend. Hence, remove this capability
for MSM hosts.

Change-Id: I69f9dacaa042e9f9a0bc4ed886f97c5c4a3b9791
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 48fb9624
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4214,7 +4214,6 @@ static int sdhci_msm_probe(struct platform_device *pdev)
	msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
	msm_host->mmc->caps2 |= msm_host->pdata->caps2;
	msm_host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC;
	msm_host->mmc->caps2 |= MMC_CAP2_FULL_PWR_CYCLE;
	msm_host->mmc->caps2 |= MMC_CAP2_HS400_POST_TUNING;
	msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
	msm_host->mmc->caps2 |= MMC_CAP2_SANITIZE;