From: Mauro Carvalho Chehab Date: Tue, 29 Nov 2011 16:33:52 +0000 (-0300) Subject: [media] tuner-xc2028: Better report signal strength X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=884b0515dcbcd9e574d385c97f80243805b5b0f3;p=mv-sheeva.git [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 --- diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index 3acbaa04e1b..e531267babc 100644 --- a/drivers/media/common/tuners/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c @@ -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);