aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMac Michaels <wmichaels@earthlink.net>2006-06-20 08:18:13 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:11 -0400
commit87057d29f84b031f2e84ac78be5caa51a96f678e (patch)
tree3e703869472e4e62d891d74cf6c3f155ae6e3374 /drivers
parentcebdd4136d704f9afeb67e9685dfd398a6a2e655 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/lgdt330x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/lgdt330x.c b/drivers/media/dvb/frontends/lgdt330x.c
index 53bafc7c9f9b..6e8ad176e1a1 100644
--- a/drivers/media/dvb/frontends/lgdt330x.c
+++ b/drivers/media/dvb/frontends/lgdt330x.c
@@ -674,6 +674,7 @@ static int lgdt3303_read_snr(struct dvb_frontend* fe, u16* snr)
674 674
675 if (state->current_modulation == VSB_8) { 675 if (state->current_modulation == VSB_8) {
676 676
677 i2c_read_demod_bytes(state, 0x6e, buf, 5);
677 /* Phase Tracker Mean-Square Error Register for VSB */ 678 /* Phase Tracker Mean-Square Error Register for VSB */
678 noise = ((buf[0] & 7) << 16) | (buf[3] << 8) | buf[4]; 679 noise = ((buf[0] & 7) << 16) | (buf[3] << 8) | buf[4];
679 } else { 680 } else {