aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-04-18 20:38:49 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 00:59:34 -0400
commitbd4956b8ec2075e965492647e0c7006a36efe5d9 (patch)
tree66d5ebecc0cdc84543cae07ca16a5d1a20aefb90 /drivers/media/video
parentb12faeffb179e5397c7c443b0e86e447891125a6 (diff)
V4L/DVB (3893): Convert calls from _pllbuf() to _calc_reg()
Johannes Stezenbach suggested this change - definite improvement. 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')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index a36dab152585..d62e9a4f2a1c 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -132,7 +132,7 @@ static int mt352_aver777_init(struct dvb_frontend* fe)
132 return 0; 132 return 0;
133} 133}
134 134
135static int mt352_pinnacle_tuner_pllbuf(struct dvb_frontend* fe, 135static int mt352_pinnacle_tuner_calc_regs(struct dvb_frontend* fe,
136 struct dvb_frontend_parameters* params, 136 struct dvb_frontend_parameters* params,
137 u8* pllbuf, int buf_len) 137 u8* pllbuf, int buf_len)
138{ 138{
@@ -167,7 +167,7 @@ static int mt352_pinnacle_tuner_pllbuf(struct dvb_frontend* fe,
167 return 5; 167 return 5;
168} 168}
169 169
170static int mt352_aver777_tuner_pllbuf(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, u8* pllbuf, int buf_len) 170static int mt352_aver777_tuner_calc_regs(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, u8* pllbuf, int buf_len)
171{ 171{
172 if (buf_len < 5) 172 if (buf_len < 5)
173 return -EINVAL; 173 return -EINVAL;
@@ -1020,14 +1020,14 @@ static int dvb_init(struct saa7134_dev *dev)
1020 printk("%s: pinnacle 300i dvb setup\n",dev->name); 1020 printk("%s: pinnacle 300i dvb setup\n",dev->name);
1021 dev->dvb.frontend = mt352_attach(&pinnacle_300i, 1021 dev->dvb.frontend = mt352_attach(&pinnacle_300i,
1022 &dev->i2c_adap); 1022 &dev->i2c_adap);
1023 dev->dvb.frontend->ops->tuner_ops.pllbuf = mt352_pinnacle_tuner_pllbuf; 1023 dev->dvb.frontend->ops->tuner_ops.calc_regs = mt352_pinnacle_tuner_calc_regs;
1024 break; 1024 break;
1025 1025
1026 case SAA7134_BOARD_AVERMEDIA_777: 1026 case SAA7134_BOARD_AVERMEDIA_777:
1027 printk("%s: avertv 777 dvb setup\n",dev->name); 1027 printk("%s: avertv 777 dvb setup\n",dev->name);
1028 dev->dvb.frontend = mt352_attach(&avermedia_777, 1028 dev->dvb.frontend = mt352_attach(&avermedia_777,
1029 &dev->i2c_adap); 1029 &dev->i2c_adap);
1030 dev->dvb.frontend->ops->tuner_ops.pllbuf = mt352_aver777_tuner_pllbuf; 1030 dev->dvb.frontend->ops->tuner_ops.calc_regs = mt352_aver777_tuner_calc_regs;
1031 break; 1031 break;
1032#endif 1032#endif
1033#ifdef HAVE_TDA1004X 1033#ifdef HAVE_TDA1004X