aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx23885/cx23885-cards.c10
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 84636ffc64dc..859510f7469c 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -431,6 +431,16 @@ void cx23885_card_setup(struct cx23885_dev *dev)
431 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; 431 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO;
432 } 432 }
433 433
434 /* Certain boards support analog, or require the avcore to be
435 * loaded, ensure this happens.
436 */
437 switch (dev->board) {
438 case CX23885_BOARD_HAUPPAUGE_HVR1800:
439 case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
440 case CX23885_BOARD_HAUPPAUGE_HVR1700:
441 request_module("cx25840");
442 break;
443 }
434} 444}
435 445
436/* ------------------------------------------------------------------ */ 446/* ------------------------------------------------------------------ */
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index 52942d102de4..b23d60801ed0 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -744,8 +744,8 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
744 cx23885_i2c_register(&dev->i2c_bus[0]); 744 cx23885_i2c_register(&dev->i2c_bus[0]);
745 cx23885_i2c_register(&dev->i2c_bus[1]); 745 cx23885_i2c_register(&dev->i2c_bus[1]);
746 cx23885_i2c_register(&dev->i2c_bus[2]); 746 cx23885_i2c_register(&dev->i2c_bus[2]);
747 cx23885_call_i2c_clients (&dev->i2c_bus[0], TUNER_SET_STANDBY, NULL);
748 cx23885_card_setup(dev); 747 cx23885_card_setup(dev);
748 cx23885_call_i2c_clients (&dev->i2c_bus[0], TUNER_SET_STANDBY, NULL);
749 cx23885_ir_init(dev); 749 cx23885_ir_init(dev);
750 750
751 if (cx23885_boards[dev->board].porta == CX23885_ANALOG_VIDEO) { 751 if (cx23885_boards[dev->board].porta == CX23885_ANALOG_VIDEO) {