Skip to content
/ linux Public

Commit 57ac308

Browse files
rvoskstorulf
authored andcommitted
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>
1 parent 34884c4 commit 57ac308

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/mmc/host/sdhci-of-dwcmshc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ static int dwcmshc_probe(struct platform_device *pdev)
416416
goto err_clk;
417417
}
418418

419+
host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
420+
419421
err = sdhci_add_host(host);
420422
if (err)
421423
goto err_clk;

0 commit comments

Comments
 (0)