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

Commit fa30938b authored by Ram Prakash Gupta's avatar Ram Prakash Gupta Committed by Sarthak Garg
Browse files

mmc: sdhci-msm: Suspend cqe only for full reset



Sdhc msm reset is called from multiple contexts.
Cqhci should suspend only for full reset.

Change-Id: I038742991837dd58a0587fdc822b95c618f1356d
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 97f9bbc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4102,7 +4102,7 @@ static void sdhci_msm_reset(struct sdhci_host *host, u8 mask)
	}

	sdhci_reset(host, mask);
	if (host->mmc->caps2 & MMC_CAP2_CQE)
	if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL))
		cqhci_suspend(host->mmc);
}