aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-core.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index d621d76f3a9a..d778b1ae9217 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -1005,6 +1005,9 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
1005 } 1005 }
1006 1006
1007 if (cx23885_boards[dev->board].portb == CX23885_MPEG_DVB) { 1007 if (cx23885_boards[dev->board].portb == CX23885_MPEG_DVB) {
1008 if (cx23885_boards[dev->board].num_fds_portb)
1009 dev->ts1.num_frontends =
1010 cx23885_boards[dev->board].num_fds_portb;
1008 if (cx23885_dvb_register(&dev->ts1) < 0) { 1011 if (cx23885_dvb_register(&dev->ts1) < 0) {
1009 printk(KERN_ERR "%s() Failed to register dvb adapters on VID_B\n", 1012 printk(KERN_ERR "%s() Failed to register dvb adapters on VID_B\n",
1010 __func__); 1013 __func__);
@@ -1019,6 +1022,9 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
1019 } 1022 }
1020 1023
1021 if (cx23885_boards[dev->board].portc == CX23885_MPEG_DVB) { 1024 if (cx23885_boards[dev->board].portc == CX23885_MPEG_DVB) {
1025 if (cx23885_boards[dev->board].num_fds_portc)
1026 dev->ts2.num_frontends =
1027 cx23885_boards[dev->board].num_fds_portc;
1022 if (cx23885_dvb_register(&dev->ts2) < 0) { 1028 if (cx23885_dvb_register(&dev->ts2) < 0) {
1023 printk(KERN_ERR 1029 printk(KERN_ERR
1024 "%s() Failed to register dvb on VID_C\n", 1030 "%s() Failed to register dvb on VID_C\n",