summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-11 09:52:49 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-11 09:52:49 -0400
commit063f30078fd2e192ff79f2c269f41cbc27539218 (patch)
tree6fab02e89f3105e79570f23e33a40d895948abf4 /linux
parent4b4f156ccce8d44c1aee25be38bdbcd87cc5ba24 (diff)
downloadmediapointer-dvb-s2-063f30078fd2e192ff79f2c269f41cbc27539218.tar.gz
mediapointer-dvb-s2-063f30078fd2e192ff79f2c269f41cbc27539218.tar.bz2
tda18271: ensure that the thermometer is off during channel configuration
From: Michael Krufky <mkrufky@linuxtv.org> Having the thermometer on during channel configuration could cause tuning instability. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/common/tuners/tda18271-fe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-fe.c b/linux/drivers/media/common/tuners/tda18271-fe.c
index 4e8f3bf50..68167b5ad 100644
--- a/linux/drivers/media/common/tuners/tda18271-fe.c
+++ b/linux/drivers/media/common/tuners/tda18271-fe.c
@@ -104,6 +104,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);