aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2021-03-24 15:47:21 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2021-03-30 11:42:07 +0200
commit57ac3084f598d238ae829d595bfc20afaf0feb38 (patch)
treecee2567e348a34486a5b4a5c800a211b70783ea6 /drivers/mmc
parentmmc: sdhci-of-dwcmshc: fix error return code in dwcmshc_probe() (diff)
downloadlinux-dev-57ac3084f598d238ae829d595bfc20afaf0feb38.tar.xz
linux-dev-57ac3084f598d238ae829d595bfc20afaf0feb38.zip
mmc: sdhci-of-dwcmshc: set MMC_CAP_WAIT_WHILE_BUSY
The host supports HW busy detection of the device busy signaling over dat0 line. Set MMC_CAP_wAIT_WHILE_BUSY host capability. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Link: https://lore.kernel.org/r/20210324154703.69f97fde@xhacker.debian Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-of-dwcmshc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
index 34d26e3884a0..bac874ab0b33 100644
--- a/drivers/mmc/host/sdhci-of-dwcmshc.c
+++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
@@ -416,6 +416,8 @@ static int dwcmshc_probe(struct platform_device *pdev)
goto err_clk;
}
+ host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
+
err = sdhci_add_host(host);
if (err)
goto err_clk;