]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: Fix mmc_switch excessive timeout
authorKirill Kapranov <kirill.kapranov@compulab.co.il>
Sat, 9 Oct 2021 20:49:59 +0000 (23:49 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 29 Oct 2021 09:22:32 +0000 (18:22 +0900)
commitd8fefc8a1fd324b0e9efe9589146cb6fa3da153c
treeb9c8f040c1c0c9ad9770e46db32ac58bb2ed474f
parent988373398089edb230cc440152a936d179a4d905
mmc: Fix mmc_switch excessive timeout

Fix branching to avoid premature falling back on a long timeout instead
of continuation of the initialization attempt.

Clear of the comment to avoid the ambiguity.

Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Ye Li <ye.li@nxp.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Tested-by: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c