V4L/DVB (4122): Lgdt330x: fix missing line in VSB snr decoding logic
authorMac Michaels <wmichaels@earthlink.net>
Tue, 20 Jun 2006 12:18:13 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:05:11 +0000 (02:05 -0300)
- 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>
drivers/media/dvb/frontends/lgdt330x.c

index 53bafc7c9f9b34eef53d7381efbc312c28d2e428..6e8ad176e1a1468f0bbb3bf197232e850361f0d6 100644 (file)
@@ -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 {