Skip to content

Commit 9d8cb58

Browse files
Veerabhadrarao Badigantistorulf
Veerabhadrarao Badiganti
authored andcommitted
mmc: sdhci-msm: Enable host capabilities pertains to R1b response
MSM sd host controller is capable of HW busy detection of device busy signaling over DAT0 line. And it requires the R1B response for commands that have this response associated with them. So set the below two host capabilities for qcom SDHC. - MMC_CAP_WAIT_WHILE_BUSY - MMC_CAP_NEED_RSP_BUSY Recent development of the mmc core in regards to this, revealed this as being a potential bug, hence the stable tag. Cc: <[email protected]> # v4.19+ Signed-off-by: Veerabhadrarao Badiganti <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent b1ac62a commit 9d8cb58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/mmc/host/sdhci-msm.c

+2
Original file line numberDiff line numberDiff line change
@@ -2087,6 +2087,8 @@ static int sdhci_msm_probe(struct platform_device *pdev)
20872087
goto clk_disable;
20882088
}
20892089

2090+
msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_NEED_RSP_BUSY;
2091+
20902092
pm_runtime_get_noresume(&pdev->dev);
20912093
pm_runtime_set_active(&pdev->dev);
20922094
pm_runtime_enable(&pdev->dev);

0 commit comments

Comments
 (0)