diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index bac2ae3b4a1f..04e31cf7d530 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -354,41 +354,35 @@ static struct mt352_config cxusb_mt352_config = { | |||
354 | /* Callbacks for DVB USB */ | 354 | /* Callbacks for DVB USB */ |
355 | static int cxusb_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap) | 355 | static int cxusb_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap) |
356 | { | 356 | { |
357 | u8 bpll[4] = { 0x0b, 0xdc, 0x9c, 0xa0 }; | 357 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, &adap->dev->i2c_adap, |
358 | adap->pll_addr = 0x61; | 358 | DVB_PLL_FMD1216ME); |
359 | memcpy(adap->pll_init, bpll, 4); | ||
360 | adap->pll_desc = &dvb_pll_fmd1216me; | ||
361 | |||
362 | adap->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; | ||
363 | adap->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; | ||
364 | |||
365 | return 0; | 359 | return 0; |
366 | } | 360 | } |
367 | 361 | ||
368 | static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap) | 362 | static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap) |
369 | { | 363 | { |
370 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, | 364 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, |
371 | NULL, &dvb_pll_thomson_dtt7579); | 365 | NULL, DVB_PLL_THOMSON_DTT7579); |
372 | return 0; | 366 | return 0; |
373 | } | 367 | } |
374 | 368 | ||
375 | static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap) | 369 | static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap) |
376 | { | 370 | { |
377 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, NULL, &dvb_pll_lg_z201); | 371 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, NULL, DVB_PLL_LG_Z201); |
378 | return 0; | 372 | return 0; |
379 | } | 373 | } |
380 | 374 | ||
381 | static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) | 375 | static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) |
382 | { | 376 | { |
383 | dvb_attach(dvb_pll_attach, adap->fe, 0x60, | 377 | dvb_attach(dvb_pll_attach, adap->fe, 0x60, |
384 | NULL, &dvb_pll_thomson_dtt7579); | 378 | NULL, DVB_PLL_THOMSON_DTT7579); |
385 | return 0; | 379 | return 0; |
386 | } | 380 | } |
387 | 381 | ||
388 | static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) | 382 | static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) |
389 | { | 383 | { |
390 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, &adap->dev->i2c_adap, | 384 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, &adap->dev->i2c_adap, |
391 | &dvb_pll_lg_tdvs_h06xf); | 385 | DVB_PLL_LG_TDVS_H06XF); |
392 | return 0; | 386 | return 0; |
393 | } | 387 | } |
394 | 388 | ||