Searched hist:bae4a1fdf59cddf02acd0070d1da7303fe5ffd0e (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | sdhci.c | bae4a1fdf59cddf02acd0070d1da7303fe5ffd0e Sat Jul 09 15:40:22 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> mmc: sdhci: clean up timeout detection
The current timeout detection logic is not very nice; it calls get_timer(start) in the while() loop, and then calls it again after the loop to check if a timeout error happened.
Because of the time difference between the two calls of get_timer(), the timeout detected after the loop may not be true.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|