浏览代码

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>
Michael Krufky 17 年之前
父节点
当前提交
7ae1ac4c1d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drivers/media/common/tuners/tda18271-fe.c

+ 3 - 0
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);