]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8037): tda18271: ensure that the thermometer is off during channel configuration
authorMichael Krufky <mkrufky@linuxtv.org>
Wed, 11 Jun 2008 16:52:49 +0000 (13:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:50 +0000 (15:58 -0300)
Having the thermometer on during channel configuration
could cause tuning instability.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/tda18271-fe.c

index 1ebf95d6770fe3f626f58d929b8fd2eb26f92e07..93063c6fbbf634e42aac29b3502de2b66104e232 100644 (file)
@@ -103,6 +103,9 @@ static int tda18271_channel_configuration(struct dvb_frontend *fe,
        /* disable Power Level Indicator */
        regs[R_EP1]  |= 0x40;
 
+       /* make sure thermometer is off */
+       regs[R_TM]   &= ~0x10;
+
        /* frequency dependent parameters */
 
        tda18271_calc_ir_measure(fe, &freq);