Skip to content

Commit

Permalink
V4L/DVB (4122): Lgdt330x: fix missing line in VSB snr decoding logic
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Mac Michaels authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent cebdd41 commit 87057d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/lgdt330x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 87057d2

Please sign in to comment.