Files
u-boot-tk1-som/drivers/mmc
Andrew Gabbasov 1677eef459 mmc: Restructure polling loops to avoid extra delays
The polling loops in sd_send_op_cond and mmc_complete_op_cond functions
check the ready flag state at the end of the loop, that is after executing
a delay inside the loop, which, in case of exiting with no error,
is not needed. Also, one of these loops, as well as the loop
in mmc_send_status, have the delay just before exiting on timeout
conditions.

Restructure all these loops to check the respective conditions before making
a delay for the next loop pass, and to appropriately exit without the delay.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
2015-05-05 11:55:00 +03:00
..
2014-08-01 19:24:34 +03:00
2015-03-18 09:51:56 +02:00
2015-03-18 09:55:59 +02:00
2014-12-05 11:16:22 +09:00
2014-12-05 11:16:22 +09:00