d98627d136
Currently the check to see if the timeout has reached zero is incorrect
and the check is instead checking if the timeout is non-zero and not
zero, hence it will break out of the loop on the first iteration and
the msleep is never executed. Fix this by breaking from the loop when
timeout is zero.
Detected by CoverityScan, CID#1469404 ("Logically Dead Code")
Fixes:
|
||
---|---|---|
.. | ||
ch7006_drv.c | ||
ch7006_mode.c | ||
ch7006_priv.h | ||
Kconfig | ||
Makefile | ||
sil164_drv.c | ||
tda998x_drv.c | ||
tda9950.c |