projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b1c29b
)
mmc: sh_mmcif: Inform the mmc core about the max busy timeout
author
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 21 Jun 2016 13:12:49 +0000
(15:12 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:24 +0000
(10:34 +0200)
The sh_mmcif driver is already using a 10s request timeout. Let's also
inform the mmc core about this value, as there are situations when it
needs to know about it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sh_mmcif.c
b/drivers/mmc/host/sh_mmcif.c
index 96a45d87d87148921d32a7a1a07b912bd92d5f9a..bab971bdd5f10e5b77db8949557e97926f4b3851 100644
(file)
--- a/
drivers/mmc/host/sh_mmcif.c
+++ b/
drivers/mmc/host/sh_mmcif.c
@@
-1455,6
+1455,7
@@
static int sh_mmcif_probe(struct platform_device *pdev)
mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_WAIT_WHILE_BUSY;
mmc->caps2 |= MMC_CAP2_NO_SD | MMC_CAP2_NO_SDIO;
+ mmc->max_busy_timeout = 10000;
if (pd && pd->caps)
mmc->caps |= pd->caps;