Skip to content

Commit

Permalink
V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent c0dc0c1 commit e7809a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7809a0

Please sign in to comment.