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

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

Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>

Bug: 412198441
Link: https://lore.kernel.org/lkml/20250514111155.10896-3-quic_sartgarg@quicinc.com/
Change-Id: I31365df33d71d9fd17ca189c51b2ec5f8e7d93d8
Signed-off-by: kamasali Satyanarayan <quic_kamasali@quicinc.com>
This commit is contained in:
Sarthak Garg
2025-05-14 16:41:55 +05:30
committed by Carlos Llamas
parent 794391e0e8
commit daf75d7717

View File

@@ -2677,6 +2677,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;