aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMac Michaels2006-06-20 09:18:13 -0300
committerMauro Carvalho Chehab2006-06-25 02:05:11 -0300
commit87057d29f84b031f2e84ac78be5caa51a96f678e (patch)
tree3e703869472e4e62d891d74cf6c3f155ae6e3374 /drivers/media/dvb/frontends
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/media/dvb/frontends')
-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)
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 {