aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:46:16 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:53 -0400
commit827855d39761889aecc7c29385d9c4989b43d01d (patch)
tree062925b9bdcd4602b66bd3f43236c492dbb7c0ca /drivers/media/video/cx88/cx88-dvb.c
parent967be9a9cd2de3f87dbf960620860143a50c1b64 (diff)
V4L/DVB (7412): use tuner-simple for LG TDVS-H06xF digital tuning support
Convert cx88-dvb, dvb-bt8xx, b2c2-flexcop, cxusb and cx23885 to use tuner-simple instead of dvb-pll for LG TDVS-H06xF Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 9c0d20aef27a..0b19384c72f1 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -48,6 +48,7 @@
48#include "tuner-xc2028.h" 48#include "tuner-xc2028.h"
49#include "tuner-xc2028-types.h" 49#include "tuner-xc2028-types.h"
50#include "tuner-simple.h" 50#include "tuner-simple.h"
51#include "tda9887.h"
51 52
52MODULE_DESCRIPTION("driver for cx2388x based DVB cards"); 53MODULE_DESCRIPTION("driver for cx2388x based DVB cards");
53MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); 54MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>");
@@ -693,9 +694,11 @@ static int dvb_register(struct cx8802_dev *dev)
693 &fusionhdtv_5_gold, 694 &fusionhdtv_5_gold,
694 &dev->core->i2c_adap); 695 &dev->core->i2c_adap);
695 if (dev->dvb.frontend != NULL) { 696 if (dev->dvb.frontend != NULL) {
696 dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, 697 dvb_attach(simple_tuner_attach, dev->dvb.frontend,
697 &dev->core->i2c_adap, 698 &dev->core->i2c_adap, 0x61,
698 DVB_PLL_LG_TDVS_H06XF); 699 TUNER_LG_TDVS_H06XF);
700 dvb_attach(tda9887_attach, dev->dvb.frontend,
701 &dev->core->i2c_adap, 0x43);
699 } 702 }
700 } 703 }
701 break; 704 break;
@@ -713,9 +716,11 @@ static int dvb_register(struct cx8802_dev *dev)
713 &pchdtv_hd5500, 716 &pchdtv_hd5500,
714 &dev->core->i2c_adap); 717 &dev->core->i2c_adap);
715 if (dev->dvb.frontend != NULL) { 718 if (dev->dvb.frontend != NULL) {
716 dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, 719 dvb_attach(simple_tuner_attach, dev->dvb.frontend,
717 &dev->core->i2c_adap, 720 &dev->core->i2c_adap, 0x61,
718 DVB_PLL_LG_TDVS_H06XF); 721 TUNER_LG_TDVS_H06XF);
722 dvb_attach(tda9887_attach, dev->dvb.frontend,
723 &dev->core->i2c_adap, 0x43);
719 } 724 }
720 } 725 }
721 break; 726 break;