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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
Showing
想要评论请 注册 或 登录
If timeout is occurred at the while loop above,
the value of 'timeout' is -1, not 0.
Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>