V4L/DVB (11666): cx23885: Don't assume GPIO interrupts are cam related.

cx23885: Don't assume GPIO interrupts are cam related.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Steven Toth 2009-04-29 20:49:12 -03:00 committed by Mauro Carvalho Chehab
parent 501d8cd4e2
commit a26ccc9d76

View File

@ -1700,9 +1700,13 @@ static irqreturn_t cx23885_irq(int irq, void *dev_id)
}
if (cx23885_boards[dev->board].cimax > 0 &&
((pci_status & PCI_MSK_GPIO0) || (pci_status & PCI_MSK_GPIO1)))
/* handled += cx23885_irq_gpio(dev, pci_status); */
handled += netup_ci_slot_status(dev, pci_status);
((pci_status & PCI_MSK_GPIO0) ||
(pci_status & PCI_MSK_GPIO1))) {
if (cx23885_boards[dev->board].cimax > 0)
handled += netup_ci_slot_status(dev, pci_status);
}
if (ts1_status) {
if (cx23885_boards[dev->board].portb == CX23885_MPEG_DVB)