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: Mac Michaels <wmichaels@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
cebdd4136d
commit
87057d29f8
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue