summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 14:46:22 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:55 -0300
commite7809a07663f868f596b5f08a63db9a32240502c (patch)
tree6951b01f8758c81b6f2ce081f6710463a1954602
parentc0dc0c1122b585193dd6650c749e919542dd3e23 (diff)
downloadblackbird-op-linux-e7809a07663f868f596b5f08a63db9a32240502c.tar.gz
blackbird-op-linux-e7809a07663f868f596b5f08a63db9a32240502c.zip
V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/frontends/tda18271-fe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c
index 3c455795d1ac..4a025849a327 100644
--- a/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/drivers/media/dvb/frontends/tda18271-fe.c
@@ -422,7 +422,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe,
count += 200;
- if (count < count_limit)
+ if (count <= count_limit)
continue;
if (sgn <= 0)
OpenPOWER on IntegriCloud