FROMLIST: mmc: sdhci-msm: Enable force hw reset during cqe recovery

Enable force hw reset during cqe recovery to make recovery more robust.

Bug: 231672697
Link: https://lore.kernel.org/lkml/20220603051534.22672-3-quic_sartgarg@quicinc.com/

Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Change-Id: I100c1c8c9a85e7c8306fe3bc8401aab9cab2b34e
This commit is contained in:
Sarthak Garg
2022-06-03 10:45:33 +05:30
committed by Carlos Llamas
parent 024f778bbb
commit 60a6ad4211

View File

@@ -2756,6 +2756,9 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_NEED_RSP_BUSY;
/* Enable force hw reset during cqe recovery */
msm_host->mmc->cqe_recovery_reset_always = true;
/* Set the timeout value to max possible */
host->max_timeout_count = 0xF;