Skip to content

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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
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)