diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-05-31 01:51:02 +0000 |
---|---|---|
committer | Albert ARIBAUD (U-Boot) <uboot@lilith.(none)> | 2012-07-09 22:44:33 +0200 |
commit | f857fff6068fe36a327a0ff6d837412caaf2e07d (patch) | |
tree | d01bd5eca9be48764df866f8ff8f86fa58a9d618 /common/console.c | |
parent | f97daaa2317b68aacfbf19bb7566183e17db3349 (diff) |
tegra: usb: fix wrong error check
loop_count runs down from 10000, so the correct condition to error out
is ==0.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
CC: Stephen Warren <swarren@wwwdotorg.org>
CC: Tom Warren <twarren.nvidia@gmail.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions