Skip to content

Commit

Permalink
[media] tuner-xc2028: Better report signal strength
Browse files Browse the repository at this point in the history
Fix lock bit to better indicate signal strength, from 4096 to
65535.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Nov 30, 2011
1 parent 15a295e commit 884b051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/common/tuners/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 884b051

Please sign in to comment.