diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-07-10 00:40:22 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-08-05 11:21:24 +0900 |
commit | bae4a1fdf59cddf02acd0070d1da7303fe5ffd0e (patch) | |
tree | 340017ad7e7845bbb339c011f2a73721871442e3 /test/run | |
parent | e1efe43c710bec8d951c25f163cc8b0c5eb92294 (diff) |
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>
Diffstat (limited to 'test/run')
0 files changed, 0 insertions, 0 deletions