diff mbox series

[V1,2/4] mmc: sdhci-msm: Enable MMC_CAP_NEED_RSP_BUSY host capability

Message ID 1586706808-27337-3-git-send-email-vbadigan@codeaurora.org
State New
Headers show
Series [V1,1/4] mmc: sdhci-msm: Enable MMC_CAP_WAIT_WHILE_BUSY host capability | expand

Commit Message

Veerabhadrarao Badiganti April 12, 2020, 3:53 p.m. UTC
sdhci-msm controller requires the R1B response for commands that
has this response associated with them.

So enable MMC_CAP_NEED_RSP_BUSY capability.

Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
---
 drivers/mmc/host/sdhci-msm.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 013dcea..d826e9b 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2088,6 +2088,7 @@  static int sdhci_msm_probe(struct platform_device *pdev)
 	}
 
 	msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
+	msm_host->mmc->caps |= MMC_CAP_NEED_RSP_BUSY;
 
 	pm_runtime_get_noresume(&pdev->dev);
 	pm_runtime_set_active(&pdev->dev);