]> Git Repo - J-u-boot.git/commit
mmc: fix wrong timeout check in mmc_send_status()
authorJongman Heo <[email protected]>
Sun, 3 Jun 2012 21:32:13 +0000 (21:32 +0000)
committerAndy Fleming <[email protected]>
Wed, 5 Sep 2012 22:32:41 +0000 (17:32 -0500)
commit5b0c942f8919ed962699a44e0abb4f8a599c52c1
treee529d3e6b1440627deb1a48d8357890a97d51ce5
parenta6f0c4faa4c65a7b7048b12c9d180d7e1aad1721
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]>
drivers/mmc/mmc.c
This page took 0.033273 seconds and 4 git commands to generate.