summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-28 10:14:45 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-28 10:14:45 -0300
commit1c961da3e212de0774ee0b7690d00f79bb2a1c2a (patch)
treef26cd97b2727250b932d2e71f1cbae7df9799a28 /linux/drivers/media/video/saa7134
parente362706b3e90987c5ca839def8372bff58fea7c0 (diff)
parent34d92c680b74d3f3bd566b52873649bc3fe0dd4f (diff)
downloadmediapointer-dvb-s2-1c961da3e212de0774ee0b7690d00f79bb2a1c2a.tar.gz
mediapointer-dvb-s2-1c961da3e212de0774ee0b7690d00f79bb2a1c2a.tar.bz2
merge: http://linuxtv.org/hg/~mcisely/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index b659b96e5..ea0a1290d 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -151,9 +151,13 @@ static int mt352_pinnacle_tuner_calc_regs(struct dvb_frontend* fe,
f.tuner = 0;
f.type = V4L2_TUNER_DIGITAL_TV;
f.frequency = params->frequency / 1000 * 16 / 1000;
+ if (fe->ops->i2c_gate_ctrl)
+ fe->ops->i2c_gate_ctrl(fe, 1);
i2c_transfer(&dev->i2c_adap, &msg, 1);
saa7134_i2c_call_clients(dev,VIDIOC_S_FREQUENCY,&f);
msg.buf = on;
+ if (fe->ops->i2c_gate_ctrl)
+ fe->ops->i2c_gate_ctrl(fe, 1);
i2c_transfer(&dev->i2c_adap, &msg, 1);
pinnacle_antenna_pwr(dev, antenna_pwr);