commit | 1be00d91087a70f53ba55dbdcaa522baa004301e | [log] [tgz] |
---|---|---|
author | Jongman Heo <jongman.heo@gmail.com> | Sun Jun 03 21:32:13 2012 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Wed Sep 05 17:32:41 2012 -0500 |
tree | e529d3e6b1440627deb1a48d8357890a97d51ce5 | |
parent | 532f4553d8192305c067d193f05bbcb4e5c2a2bc [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 <jongman.heo@gmail.com> Signed-off-by: Andy Fleming <afleming@freescale.com>