aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index aef5297534af..4ff4d9fe0355 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -241,6 +241,12 @@ static struct mt352_config dvico_fusionhdtv_dual = {
241 .demod_init = dvico_dual_demod_init, 241 .demod_init = dvico_dual_demod_init,
242}; 242};
243 243
244static struct zl10353_config cx88_terratec_cinergy_ht_pci_mkii_config = {
245 .demod_address = (0x1e >> 1),
246 .no_tuner = 1,
247 .if2 = 45600,
248};
249
244#if defined(CONFIG_VIDEO_CX88_VP3054) || (defined(CONFIG_VIDEO_CX88_VP3054_MODULE) && defined(MODULE)) 250#if defined(CONFIG_VIDEO_CX88_VP3054) || (defined(CONFIG_VIDEO_CX88_VP3054_MODULE) && defined(MODULE))
245static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe) 251static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe)
246{ 252{
@@ -1131,6 +1137,16 @@ static int dvb_register(struct cx8802_dev *dev)
1131 if (fe0->dvb.frontend != NULL) 1137 if (fe0->dvb.frontend != NULL)
1132 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; 1138 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1133 break; 1139 break;
1140 case CX88_BOARD_TERRATEC_CINERGY_HT_PCI_MKII:
1141 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1142 &cx88_terratec_cinergy_ht_pci_mkii_config,
1143 &core->i2c_adap);
1144 if (fe0->dvb.frontend) {
1145 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1146 if (attach_xc3028(0x61, dev) < 0)
1147 goto frontend_detach;
1148 }
1149 break;
1134 default: 1150 default:
1135 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", 1151 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n",
1136 core->name); 1152 core->name);
@@ -1152,7 +1168,7 @@ static int dvb_register(struct cx8802_dev *dev)
1152 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; 1168 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl;
1153 1169
1154 /* Put the analog decoder in standby to keep it quiet */ 1170 /* Put the analog decoder in standby to keep it quiet */
1155 cx88_call_i2c_clients(core, TUNER_SET_STANDBY, NULL); 1171 call_all(core, core, s_standby, 0);
1156 1172
1157 /* register everything */ 1173 /* register everything */
1158 return videobuf_dvb_register_bus(&dev->frontends, THIS_MODULE, dev, 1174 return videobuf_dvb_register_bus(&dev->frontends, THIS_MODULE, dev,