diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-12-04 23:01:39 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-12-04 23:01:39 -0500 |
commit | 25439df5a89f3ebd71187ca15179c9bb645ae45c (patch) | |
tree | d9714466dd91db42c45b3b8f393ab8fe0eeb107b | |
parent | 2462e3a3d0b70592ff0e8ef90a80022608453c27 (diff) | |
download | mediapointer-dvb-s2-25439df5a89f3ebd71187ca15179c9bb645ae45c.tar.gz mediapointer-dvb-s2-25439df5a89f3ebd71187ca15179c9bb645ae45c.tar.bz2 |
cx88: cleanup dvb_pll_attach for lgdt3302 tuners
From: Michael Krufky <mkrufky@linuxtv.org>
Since we're using dvb_pll_attach now, we dont have to populate
dev->core->pll_addr or dev->core->pll_desc anymore.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index d9b5350ff..b50b6caa7 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -634,14 +634,13 @@ static int dvb_register(struct cx8802_dev *dev) /* Select RF connector callback */ fusionhdtv_3_gold.pll_rf_set = lgdt330x_pll_rf_set; - dev->core->pll_addr = 0x61; - dev->core->pll_desc = &dvb_pll_microtune_4042; dev->dvb.frontend = dvb_attach(lgdt330x_attach, &fusionhdtv_3_gold, &dev->core->i2c_adap); if (dev->dvb.frontend != NULL) { - dvb_attach(dvb_pll_attach, dev->dvb.frontend, dev->core->pll_addr, - &dev->core->i2c_adap, dev->core->pll_desc); + dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, + &dev->core->i2c_adap, + &dvb_pll_microtune_4042); } } break; @@ -655,14 +654,13 @@ static int dvb_register(struct cx8802_dev *dev) mdelay(100); cx_set(MO_GP0_IO, 9); mdelay(200); - dev->core->pll_addr = 0x61; - dev->core->pll_desc = &dvb_pll_thomson_dtt761x; dev->dvb.frontend = dvb_attach(lgdt330x_attach, &fusionhdtv_3_gold, &dev->core->i2c_adap); if (dev->dvb.frontend != NULL) { - dvb_attach(dvb_pll_attach, dev->dvb.frontend, dev->core->pll_addr, - &dev->core->i2c_adap, dev->core->pll_desc); + dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, + &dev->core->i2c_adap, + &dvb_pll_thomson_dtt761x); } } break; |