mmc: fix response timeout after switch command
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/21 patch 0 repliesNew
- v1 RFC posting 1/21 patch 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | mmc: fix response timeout after switch commanddrivers/ include/ | +3 | 1 reply | |
| 1/1 | mmc: fix response timeout after switch command | +0 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jaehoon Chung |
|---|---|
| 1/1 | R-b |
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND PATCH v1 0/1] mmc: fix response timeout after switch command
Currently I am implementing SPL for frienlyARM's NanoPC-T2 board (SoC S5P4418). Loading of U-Boot from SD-card fails if CONFIG_SPL_MMC_TINY=y. I.e. mmc_set_blocklen() inside mmc_bread() fails (Response Timeout), caused by the previous call of __mmc_switch() in drivers/mmc/mmc.c:
Here the 'current state' of the card status keeps 'data' for several 100ms after issuing the switch command. Because of this state the next command issued fails (in this case CMD16 = SET_BLOCKLEN). Patch: Wait for 'current state' = 'tran' in __mmc_switch().
Stefan Bosch (1):
mmc: fix response timeout after switch command
drivers/mmc/mmc.c | 3 ++- include/mmc.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1