aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/cx23885/cx23885-cards.c12
-rw-r--r--drivers/media/video/cx23885/cx23885-input.c3
2 files changed, 14 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 934185cca758..74b9d39ff829 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -1097,12 +1097,19 @@ int cx23885_ir_init(struct cx23885_dev *dev)
1097 case CX23885_BOARD_HAUPPAUGE_HVR1800: 1097 case CX23885_BOARD_HAUPPAUGE_HVR1800:
1098 case CX23885_BOARD_HAUPPAUGE_HVR1200: 1098 case CX23885_BOARD_HAUPPAUGE_HVR1200:
1099 case CX23885_BOARD_HAUPPAUGE_HVR1400: 1099 case CX23885_BOARD_HAUPPAUGE_HVR1400:
1100 case CX23885_BOARD_HAUPPAUGE_HVR1270:
1101 case CX23885_BOARD_HAUPPAUGE_HVR1275: 1100 case CX23885_BOARD_HAUPPAUGE_HVR1275:
1102 case CX23885_BOARD_HAUPPAUGE_HVR1255: 1101 case CX23885_BOARD_HAUPPAUGE_HVR1255:
1103 case CX23885_BOARD_HAUPPAUGE_HVR1210: 1102 case CX23885_BOARD_HAUPPAUGE_HVR1210:
1104 /* FIXME: Implement me */ 1103 /* FIXME: Implement me */
1105 break; 1104 break;
1105 case CX23885_BOARD_HAUPPAUGE_HVR1270:
1106 ret = cx23888_ir_probe(dev);
1107 if (ret)
1108 break;
1109 dev->sd_ir = cx23885_find_hw(dev, CX23885_HW_888_IR);
1110 v4l2_subdev_call(dev->sd_cx25840, core, s_io_pin_config,
1111 ir_rx_pin_cfg_count, ir_rx_pin_cfg);
1112 break;
1106 case CX23885_BOARD_HAUPPAUGE_HVR1850: 1113 case CX23885_BOARD_HAUPPAUGE_HVR1850:
1107 case CX23885_BOARD_HAUPPAUGE_HVR1290: 1114 case CX23885_BOARD_HAUPPAUGE_HVR1290:
1108 ret = cx23888_ir_probe(dev); 1115 ret = cx23888_ir_probe(dev);
@@ -1156,6 +1163,7 @@ int cx23885_ir_init(struct cx23885_dev *dev)
1156void cx23885_ir_fini(struct cx23885_dev *dev) 1163void cx23885_ir_fini(struct cx23885_dev *dev)
1157{ 1164{
1158 switch (dev->board) { 1165 switch (dev->board) {
1166 case CX23885_BOARD_HAUPPAUGE_HVR1270:
1159 case CX23885_BOARD_HAUPPAUGE_HVR1850: 1167 case CX23885_BOARD_HAUPPAUGE_HVR1850:
1160 case CX23885_BOARD_HAUPPAUGE_HVR1290: 1168 case CX23885_BOARD_HAUPPAUGE_HVR1290:
1161 cx23885_irq_remove(dev, PCI_MSK_IR); 1169 cx23885_irq_remove(dev, PCI_MSK_IR);
@@ -1199,6 +1207,7 @@ int netup_jtag_io(void *device, int tms, int tdi, int read_tdo)
1199void cx23885_ir_pci_int_enable(struct cx23885_dev *dev) 1207void cx23885_ir_pci_int_enable(struct cx23885_dev *dev)
1200{ 1208{
1201 switch (dev->board) { 1209 switch (dev->board) {
1210 case CX23885_BOARD_HAUPPAUGE_HVR1270:
1202 case CX23885_BOARD_HAUPPAUGE_HVR1850: 1211 case CX23885_BOARD_HAUPPAUGE_HVR1850:
1203 case CX23885_BOARD_HAUPPAUGE_HVR1290: 1212 case CX23885_BOARD_HAUPPAUGE_HVR1290:
1204 if (dev->sd_ir) 1213 if (dev->sd_ir)
@@ -1357,6 +1366,7 @@ void cx23885_card_setup(struct cx23885_dev *dev)
1357 case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: 1366 case CX23885_BOARD_NETUP_DUAL_DVBS2_CI:
1358 case CX23885_BOARD_NETUP_DUAL_DVB_T_C_CI_RF: 1367 case CX23885_BOARD_NETUP_DUAL_DVB_T_C_CI_RF:
1359 case CX23885_BOARD_COMPRO_VIDEOMATE_E800: 1368 case CX23885_BOARD_COMPRO_VIDEOMATE_E800:
1369 case CX23885_BOARD_HAUPPAUGE_HVR1270:
1360 case CX23885_BOARD_HAUPPAUGE_HVR1850: 1370 case CX23885_BOARD_HAUPPAUGE_HVR1850:
1361 case CX23885_BOARD_MYGICA_X8506: 1371 case CX23885_BOARD_MYGICA_X8506:
1362 case CX23885_BOARD_MAGICPRO_PROHDTVE2: 1372 case CX23885_BOARD_MAGICPRO_PROHDTVE2:
diff --git a/drivers/media/video/cx23885/cx23885-input.c b/drivers/media/video/cx23885/cx23885-input.c
index 1ca6693cb5f8..ce765e3f77bd 100644
--- a/drivers/media/video/cx23885/cx23885-input.c
+++ b/drivers/media/video/cx23885/cx23885-input.c
@@ -82,6 +82,7 @@ void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events)
82 return; 82 return;
83 83
84 switch (dev->board) { 84 switch (dev->board) {
85 case CX23885_BOARD_HAUPPAUGE_HVR1270:
85 case CX23885_BOARD_HAUPPAUGE_HVR1850: 86 case CX23885_BOARD_HAUPPAUGE_HVR1850:
86 case CX23885_BOARD_HAUPPAUGE_HVR1290: 87 case CX23885_BOARD_HAUPPAUGE_HVR1290:
87 case CX23885_BOARD_TEVII_S470: 88 case CX23885_BOARD_TEVII_S470:
@@ -133,6 +134,7 @@ static int cx23885_input_ir_start(struct cx23885_dev *dev)
133 134
134 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); 135 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params);
135 switch (dev->board) { 136 switch (dev->board) {
137 case CX23885_BOARD_HAUPPAUGE_HVR1270:
136 case CX23885_BOARD_HAUPPAUGE_HVR1850: 138 case CX23885_BOARD_HAUPPAUGE_HVR1850:
137 case CX23885_BOARD_HAUPPAUGE_HVR1290: 139 case CX23885_BOARD_HAUPPAUGE_HVR1290:
138 case CX23885_BOARD_HAUPPAUGE_HVR1250: 140 case CX23885_BOARD_HAUPPAUGE_HVR1250:
@@ -260,6 +262,7 @@ int cx23885_input_init(struct cx23885_dev *dev)
260 return -ENODEV; 262 return -ENODEV;
261 263
262 switch (dev->board) { 264 switch (dev->board) {
265 case CX23885_BOARD_HAUPPAUGE_HVR1270:
263 case CX23885_BOARD_HAUPPAUGE_HVR1850: 266 case CX23885_BOARD_HAUPPAUGE_HVR1850:
264 case CX23885_BOARD_HAUPPAUGE_HVR1290: 267 case CX23885_BOARD_HAUPPAUGE_HVR1290:
265 case CX23885_BOARD_HAUPPAUGE_HVR1250: 268 case CX23885_BOARD_HAUPPAUGE_HVR1250: