mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 21:21:47 +00:00
[media] tuner-xc2028: Better report signal strength
Fix lock bit to better indicate signal strength, from 4096 to 65535. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
15a295ec31
commit
884b0515dc
@ -891,7 +891,7 @@ static int xc2028_signal(struct dvb_frontend *fe, u16 *strength)
|
||||
|
||||
/* Frequency is locked */
|
||||
if (frq_lock == 1)
|
||||
signal = 32768;
|
||||
signal = 1 << 11;
|
||||
|
||||
/* Get SNR of the video signal */
|
||||
rc = xc2028_get_reg(priv, 0x0040, &signal);
|
||||
|
Loading…
Reference in New Issue
Block a user