Commit 87057d29 authored by Mac Michaels's avatar Mac Michaels Committed by Mauro Carvalho Chehab

V4L/DVB (4122): Lgdt330x: fix missing line in VSB snr decoding logic

- fix missing line in VSB snr decoding logic for lgdt3303
Signed-off-by: default avatarMac Michaels <wmichaels@earthlink.net>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent cebdd413
......@@ -674,6 +674,7 @@ static int lgdt3303_read_snr(struct dvb_frontend* fe, u16* snr)
if (state->current_modulation == VSB_8) {
i2c_read_demod_bytes(state, 0x6e, buf, 5);
/* Phase Tracker Mean-Square Error Register for VSB */
noise = ((buf[0] & 7) << 16) | (buf[3] << 8) | buf[4];
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment