aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-08-14 22:35:16 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:08:16 -0400
commit426d523664e01c778f6455e9b3bbd40dda76c66a (patch)
tree2981840a4827065148546238c3c34cdd132f1ef1 /drivers/media/video
parentb86b580244511f9b2fb2043d813e9c4c7d294a62 (diff)
V4L/DVB (6166): cx23885: Ensure pci_quirks is called after board identification
The pci_quirks function was being called too early during initialisation, it needs to be called after the board has been identified. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index 3e1b62a2d50d..691672947084 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -759,8 +759,6 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
759 759
760 dev->bmmio = (u8 __iomem *)dev->lmmio; 760 dev->bmmio = (u8 __iomem *)dev->lmmio;
761 761
762 cx23885_pci_quirks(dev);
763
764 /* board config */ 762 /* board config */
765 dev->board = UNSET; 763 dev->board = UNSET;
766 if (card[dev->nr] < cx23885_bcount) 764 if (card[dev->nr] < cx23885_bcount)
@@ -779,6 +777,8 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
779 dev->board, card[dev->nr] == dev->board ? 777 dev->board, card[dev->nr] == dev->board ?
780 "insmod option" : "autodetected"); 778 "insmod option" : "autodetected");
781 779
780 cx23885_pci_quirks(dev);
781
782 /* Configure the internal memory */ 782 /* Configure the internal memory */
783 if(dev->pci->device == 0x8880) { 783 if(dev->pci->device == 0x8880) {
784 dev->bridge = CX23885_BRIDGE_887; 784 dev->bridge = CX23885_BRIDGE_887;