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

Commit 42668750 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: cmdq: Set the max data timeout before unhalt



Update CQE halt timeout to qcom spec max to 0xF.

Change-Id: Icde7e030ee6684e8e08afd57d007721e4077cf53
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent bc6ef457
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2278,6 +2278,8 @@ void sdhci_msm_cqe_enable(struct mmc_host *mmc)
		host->desc_sz = 12;

	sdhci_cqe_enable(mmc);
	/* Set maximum timeout as per qcom spec */
	sdhci_writeb(host, 0xF, SDHCI_TIMEOUT_CONTROL);
}

void sdhci_msm_cqe_disable(struct mmc_host *mmc, bool recovery)