diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-03-22 18:21:32 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-03-22 18:21:32 -0400 |
commit | 005f54ce72329f452475ee280031b897d9533dcf (patch) | |
tree | 87428971732c4df2bc8f7d9a4d5981ab467e30d5 /linux/drivers | |
parent | 4f95ac0d135f1bb3626b911853b8c8fb23a338c8 (diff) | |
download | mediapointer-dvb-s2-005f54ce72329f452475ee280031b897d9533dcf.tar.gz mediapointer-dvb-s2-005f54ce72329f452475ee280031b897d9533dcf.tar.bz2 |
tda18271: fix comparison bug in tda18271_powerscan
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda18271-fe.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271-fe.c b/linux/drivers/media/dvb/frontends/tda18271-fe.c index 257b32691..66884bb33 100644 --- a/linux/drivers/media/dvb/frontends/tda18271-fe.c +++ b/linux/drivers/media/dvb/frontends/tda18271-fe.c @@ -432,11 +432,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe, msleep(5); /* pll locking */ wait = false; } else -#if 0 - msleep(1); /* pll locking */ -#else udelay(100); /* pll locking */ -#endif /* launch power detection measurement */ tda18271_write_regs(fe, R_EP2, 1); @@ -446,7 +442,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe, count += 200; - if (count < count_limit) + if (count <= count_limit) continue; if (sgn <= 0) |