]> git.sur5r.net Git - u-boot/commit
smc911x: fix the timeout detection
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 8 May 2013 21:42:44 +0000 (21:42 +0000)
committerTom Rini <trini@ti.com>
Wed, 15 May 2013 12:41:03 +0000 (08:41 -0400)
commitbee0dc2fec422175f2f23e2ed35152b40788a055
tree7ec354e1a4463f3671f16b5bd7879f45e9ea4c33
parentcc63bb05ef271b3b63d9cd2fe1b52ff766d2fc65
smc911x: fix the timeout detection

If timeout is occurred at the while loop above,
the value of 'timeout' is -1, not 0.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/net/smc911x.h