]> git.dujemihanovic.xyz Git - u-boot.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)
commit44645f87de513468a8c8082d057704df0495d7a4
treeb9c8f040c1c0c9ad9770e46db32ac58bb2ed474f
parent0d453c84bae95174ca3bd94c72a46112580b24c8
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