aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-17 10:17:14 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:22 -0400
commitfac6986c4777ae85fa2108ea25fee98de2c1f7b2 (patch)
tree477119cf15d50bcc548ddd6e6ba15eb69e311d23 /drivers/media/video/saa7134/saa7134-dvb.c
parent5b73e98c83fc5087f591c9b12ee546b97e9283d4 (diff)
V4L/DVB (10247): saa7134: convert to the new v4l2 framework.
Register v4l2_device and switch to v4l2_subdev to access the i2c modules. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index b5370b3e1a3d..af9a22d1b94d 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -189,7 +189,7 @@ static int mt352_pinnacle_tuner_set_params(struct dvb_frontend* fe,
189 if (fe->ops.i2c_gate_ctrl) 189 if (fe->ops.i2c_gate_ctrl)
190 fe->ops.i2c_gate_ctrl(fe, 1); 190 fe->ops.i2c_gate_ctrl(fe, 1);
191 i2c_transfer(&dev->i2c_adap, &msg, 1); 191 i2c_transfer(&dev->i2c_adap, &msg, 1);
192 saa7134_i2c_call_clients(dev,VIDIOC_S_FREQUENCY,&f); 192 saa_call_all(dev, tuner, s_frequency, &f);
193 msg.buf = on; 193 msg.buf = on;
194 if (fe->ops.i2c_gate_ctrl) 194 if (fe->ops.i2c_gate_ctrl)
195 fe->ops.i2c_gate_ctrl(fe, 1); 195 fe->ops.i2c_gate_ctrl(fe, 1);
@@ -1449,7 +1449,7 @@ static int dvb_fini(struct saa7134_dev *dev)
1449 tda9887_cfg.priv = &on; 1449 tda9887_cfg.priv = &on;
1450 1450
1451 /* otherwise we don't detect the tuner on next insmod */ 1451 /* otherwise we don't detect the tuner on next insmod */
1452 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tda9887_cfg); 1452 saa_call_all(dev, tuner, s_config, &tda9887_cfg);
1453 } else if (dev->board == SAA7134_BOARD_MEDION_MD8800_QUADRO) { 1453 } else if (dev->board == SAA7134_BOARD_MEDION_MD8800_QUADRO) {
1454 if ((dev->eedata[2] == 0x07) && use_frontend) { 1454 if ((dev->eedata[2] == 0x07) && use_frontend) {
1455 /* turn off the 2nd lnb supply */ 1455 /* turn off the 2nd lnb supply */