summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-11 18:52:49 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-26 20:58:50 +0200
commit7ae1ac4c1db5a3647604acb00d736f17af6999b7 (patch)
tree542b27b1d68efa392e836824ac6ccc2c4ddeb265 /drivers/media/common
parentV4L/DVB (8036): tda18271: toggle rf agc speed mode on TDA18271HD/C2 only (diff)
downloadlinux-7ae1ac4c1db5a3647604acb00d736f17af6999b7.tar.xz
linux-7ae1ac4c1db5a3647604acb00d736f17af6999b7.zip
V4L/DVB (8037): tda18271: ensure that the thermometer is off during channel configuration
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>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/tda18271-fe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c
index 1ebf95d6770f..93063c6fbbf6 100644
--- a/drivers/media/common/tuners/tda18271-fe.c
+++ b/drivers/media/common/tuners/tda18271-fe.c
@@ -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);