projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1bf6c
)
mmc: stm32_sdmmc2: increase polling status register delay
author
Christophe Kerello
<christophe.kerello@st.com>
Mon, 9 Oct 2017 15:02:28 +0000
(17:02 +0200)
committer
Tom Rini
<trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000
(09:42 -0400)
MMC commands like MMC_CMD_ALL_SEND_CID or MMC_CMD_SEND_CSD can reach
500 us. This patch increases the polling status register delay to avoid
a timeout on a command.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mmc/stm32_sdmmc2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/stm32_sdmmc2.c
b/drivers/mmc/stm32_sdmmc2.c
index 0bf7135b4ff2ffcfa33d4486565600f382ea3de2..5e43397f8edfe025e3fe6a614801ec372aebeef7 100644
(file)
--- a/
drivers/mmc/stm32_sdmmc2.c
+++ b/
drivers/mmc/stm32_sdmmc2.c
@@
-276,7
+276,7
@@
static int stm32_sdmmc2_end_cmd(struct stm32_sdmmc2_priv *priv,
/* Polling status register */
ret = readl_poll_timeout(priv->base + SDMMC_STA, status, status & mask,
-
3
00);
+
100
00);
if (ret < 0) {
debug("%s: timeout reading SDMMC_STA register\n", __func__);
This page took
0.037574 seconds
and
4
git commands to generate.