aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-05-22 09:31:40 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 00:59:52 -0400
commita9686e0d204e3faa544434c709ccb599f8165252 (patch)
tree5641cf2bd9a5c4e4f4fec7fd0214b207a5277f25 /drivers/media/video/saa7134
parentebfbc305bda90deadf73898493c707cce3b465e6 (diff)
V4L/DVB (3935): Add missing pll gate control calls
I'd missed some of these out, breaking the av7110 tuning. I then checked for more and added them in where necessary. They may not actually be necessary in all these locations, but if not, they'll simply have no effect. Add small delay to stv0299 pll gate control to fix tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index a83db2abb449..f2b155a2299d 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -150,9 +150,13 @@ static int mt352_pinnacle_tuner_calc_regs(struct dvb_frontend* fe,
150 f.tuner = 0; 150 f.tuner = 0;
151 f.type = V4L2_TUNER_DIGITAL_TV; 151 f.type = V4L2_TUNER_DIGITAL_TV;
152 f.frequency = params->frequency / 1000 * 16 / 1000; 152 f.frequency = params->frequency / 1000 * 16 / 1000;
153 if (fe->ops->i2c_gate_ctrl)
154 fe->ops->i2c_gate_ctrl(fe, 1);
153 i2c_transfer(&dev->i2c_adap, &msg, 1); 155 i2c_transfer(&dev->i2c_adap, &msg, 1);
154 saa7134_i2c_call_clients(dev,VIDIOC_S_FREQUENCY,&f); 156 saa7134_i2c_call_clients(dev,VIDIOC_S_FREQUENCY,&f);
155 msg.buf = on; 157 msg.buf = on;
158 if (fe->ops->i2c_gate_ctrl)
159 fe->ops->i2c_gate_ctrl(fe, 1);
156 i2c_transfer(&dev->i2c_adap, &msg, 1); 160 i2c_transfer(&dev->i2c_adap, &msg, 1);
157 161
158 pinnacle_antenna_pwr(dev, antenna_pwr); 162 pinnacle_antenna_pwr(dev, antenna_pwr);