diff options
author | Antti Palosaari <crope@iki.fi> | 2014-02-11 00:17:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-02-24 10:35:36 -0300 |
commit | 07115606773bbb534307fd22c80832a5d5d478fa (patch) | |
tree | e4a8658cb92a4582eb3d71e80798adbf8b176321 /drivers/media/dvb-frontends/tda10071.c | |
parent | a3a528ba8ed1272af4b7d2f115eff7eb21c3971f (diff) | |
download | linux-stable-07115606773bbb534307fd22c80832a5d5d478fa.tar.gz linux-stable-07115606773bbb534307fd22c80832a5d5d478fa.tar.bz2 linux-stable-07115606773bbb534307fd22c80832a5d5d478fa.zip |
[media] tda10071: do not check tuner PLL lock on read_status()
Tuner PLL lock flag was mapped to FE_HAS_SIGNAL, which is wrong. PLL
lock has nothing to do with received signal. In real life that flag
is always set.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tda10071.c')
-rw-r--r-- | drivers/media/dvb-frontends/tda10071.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index a76df29c4973..13c823a434fc 100644 --- a/drivers/media/dvb-frontends/tda10071.c +++ b/drivers/media/dvb-frontends/tda10071.c @@ -491,10 +491,9 @@ static int tda10071_read_status(struct dvb_frontend *fe, fe_status_t *status) if (ret) goto error; - if (tmp & 0x01) /* tuner PLL */ - *status |= FE_HAS_SIGNAL; + /* 0x39[0] tuner PLL */ if (tmp & 0x02) /* demod PLL */ - *status |= FE_HAS_CARRIER; + *status |= FE_HAS_SIGNAL | FE_HAS_CARRIER; if (tmp & 0x04) /* viterbi or LDPC*/ *status |= FE_HAS_VITERBI; if (tmp & 0x08) /* RS or BCH */ |