]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fix response timeout after switch command
authorStefan Bosch <stefan_b@posteo.net>
Sat, 23 Jan 2021 12:37:41 +0000 (13:37 +0100)
committerPeng Fan <peng.fan@nxp.com>
Fri, 19 Feb 2021 07:04:15 +0000 (15:04 +0800)
commit82d88ca0705405ccdfcb82ddd0b0147bc40ed66a
tree0873aa2c1e0e584812d6d0301a5fa8dbf9742eb2
parenta6caba75a9200d76bbdc18b2eec434bff65d292c
mmc: fix response timeout after switch command

After issuing the switch command: Wait until 'current state' of the card
status becomes 'tran'. This prevents from response timeout at the next
command because of 'current state' = 'data'.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
include/mmc.h