mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
[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>
This commit is contained in:
parent
a3a528ba8e
commit
0711560677
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user