projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34884c4
)
mmc: sdhci-of-dwcmshc: set MMC_CAP_WAIT_WHILE_BUSY
author
Jisheng Zhang
<Jisheng.Zhang@synaptics.com>
Wed, 24 Mar 2021 07:47:21 +0000
(15:47 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:07 +0000
(11:42 +0200)
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>
drivers/mmc/host/sdhci-of-dwcmshc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-dwcmshc.c
b/drivers/mmc/host/sdhci-of-dwcmshc.c
index
34d26e3
..
bac874a
100644
(file)
--- 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;