diff options
-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) |