]> git.dujemihanovic.xyz Git - u-boot.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)
commit8e2b0af7216d78b60fccb46a107a4a047938aea9
tree0873aa2c1e0e584812d6d0301a5fa8dbf9742eb2
parent37e1362efc2ba9be5355b3c55f9f4f7a43f02de2
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