aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-12-05 12:20:06 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-10 06:22:53 -0500
commit79a54cbd73afe05d807b2128fa41a92cb4acd637 (patch)
tree8cdc5518a83db0b1856966906df1bb9528d56cee /drivers/media
parent4a390558a691445e3d710998b850570fe8a20d31 (diff)
V4L/DVB (4948): Cxusb: Convert tuner functions to use dvb_pll_attach
Converted dee1601, lgz201 and dtt8579 to use dvb_pll_attach in dvb-usb-cxusb. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/cxusb.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c
index ae039b9cb724..ee39ebea9975 100644
--- a/drivers/media/dvb/dvb-usb/cxusb.c
+++ b/drivers/media/dvb/dvb-usb/cxusb.c
@@ -367,25 +367,21 @@ static int cxusb_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap)
367 367
368static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap) 368static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap)
369{ 369{
370 adap->pll_addr = 0x61; 370 dvb_attach(dvb_pll_attach, adap->fe, 0x61,
371 adap->pll_desc = &dvb_pll_thomson_dtt7579; 371 NULL, &dvb_pll_thomson_dtt7579);
372 adap->fe->ops.tuner_ops.calc_regs = dvb_usb_tuner_calc_regs;
373 return 0; 372 return 0;
374} 373}
375 374
376static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap) 375static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap)
377{ 376{
378 adap->pll_addr = 0x61; 377 dvb_attach(dvb_pll_attach, adap->fe, 0x61, NULL, &dvb_pll_lg_z201);
379 adap->pll_desc = &dvb_pll_lg_z201;
380 adap->fe->ops.tuner_ops.calc_regs = dvb_usb_tuner_calc_regs;
381 return 0; 378 return 0;
382} 379}
383 380
384static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) 381static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap)
385{ 382{
386 adap->pll_addr = 0x60; 383 dvb_attach(dvb_pll_attach, adap->fe, 0x60,
387 adap->pll_desc = &dvb_pll_thomson_dtt7579; 384 NULL, &dvb_pll_thomson_dtt7579);
388 adap->fe->ops.tuner_ops.calc_regs = dvb_usb_tuner_calc_regs;
389 return 0; 385 return 0;
390} 386}
391 387