diff options
| author | Jongman Heo <[email protected]> | 2012-06-03 21:32:13 +0000 |
|---|---|---|
| committer | Andy Fleming <[email protected]> | 2012-09-05 17:32:41 -0500 |
| commit | 5b0c942f8919ed962699a44e0abb4f8a599c52c1 (patch) | |
| tree | e529d3e6b1440627deb1a48d8357890a97d51ce5 /include/linux/byteorder | |
| parent | a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721 (diff) | |
mmc: fix wrong timeout check in mmc_send_status()
(!timeout) condition check in mmc_send_status() can never be met,
because do-while loop ends up with negative timeout value, -1.
Fix the check to handle TIMEOUT case correctly.
Signed-off-by: Jongman Heo <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
Diffstat (limited to 'include/linux/byteorder')
0 files changed, 0 insertions, 0 deletions
