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.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index 691672947084..d2bc3e586623 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -622,11 +622,9 @@ static int cx23885_pci_quirks(struct cx23885_dev *dev)
622{ 622{
623 dprintk(1, "%s()\n", __FUNCTION__); 623 dprintk(1, "%s()\n", __FUNCTION__);
624 624
625 switch(dev->board) { 625 if(dev->bridge == CX23885_BRIDGE_885)
626 case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
627 cx_clear(RDR_TLCTL0, 1 << 4); 626 cx_clear(RDR_TLCTL0, 1 << 4);
628 break; 627
629 }
630 return 0; 628 return 0;
631} 629}
632 630
@@ -777,8 +775,6 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
777 dev->board, card[dev->nr] == dev->board ? 775 dev->board, card[dev->nr] == dev->board ?
778 "insmod option" : "autodetected"); 776 "insmod option" : "autodetected");
779 777
780 cx23885_pci_quirks(dev);
781
782 /* Configure the internal memory */ 778 /* Configure the internal memory */
783 if(dev->pci->device == 0x8880) { 779 if(dev->pci->device == 0x8880) {
784 dev->bridge = CX23885_BRIDGE_887; 780 dev->bridge = CX23885_BRIDGE_887;
@@ -791,6 +787,8 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
791 dprintk(1, "%s() Memory configured for PCIe bridge type %d\n", 787 dprintk(1, "%s() Memory configured for PCIe bridge type %d\n",
792 __FUNCTION__, dev->bridge); 788 __FUNCTION__, dev->bridge);
793 789
790 cx23885_pci_quirks(dev);
791
794 /* init hardware */ 792 /* init hardware */
795 cx23885_reset(dev); 793 cx23885_reset(dev);
796 794