提交 884b0515 编写于 作者: M Mauro Carvalho Chehab

[media] tuner-xc2028: Better report signal strength

Fix lock bit to better indicate signal strength, from 4096 to
65535.
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 15a295ec
...@@ -891,7 +891,7 @@ static int xc2028_signal(struct dvb_frontend *fe, u16 *strength) ...@@ -891,7 +891,7 @@ static int xc2028_signal(struct dvb_frontend *fe, u16 *strength)
/* Frequency is locked */ /* Frequency is locked */
if (frq_lock == 1) if (frq_lock == 1)
signal = 32768; signal = 1 << 11;
/* Get SNR of the video signal */ /* Get SNR of the video signal */
rc = xc2028_get_reg(priv, 0x0040, &signal); rc = xc2028_get_reg(priv, 0x0040, &signal);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册