summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-alsa.c
diff options
context:
space:
mode:
authorTrent Piepho2007-08-18 12:02:26 +0200
committerMauro Carvalho Chehab2007-10-10 03:05:55 +0200
commit5ba862b77e2d7f9e6e2cb133c43be32ac612aea5 (patch)
tree26b95709abf4d176a33d0f5409b1145e76f9c729 /drivers/media/video/cx88/cx88-alsa.c
parentV4L/DVB (6064): cx88: Add symbolic names for the PCI interrupt bits (diff)
downloadkernel-qcow2-linux-5ba862b77e2d7f9e6e2cb133c43be32ac612aea5.tar.gz
kernel-qcow2-linux-5ba862b77e2d7f9e6e2cb133c43be32ac612aea5.tar.xz
kernel-qcow2-linux-5ba862b77e2d7f9e6e2cb133c43be32ac612aea5.zip
V4L/DVB (6065): cx88-alsa: Call core irq handler when needed
When an irq handled by the cx88 core driver (currently IR and errors) occurs and the cx88-alsa irq handler is the first called, it will claim to have handled the irq but it doesn't call cx88_core_irq() to handle it. The means loading cx88-alsa can disable the IR remote. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-alsa.c')
-rw-r--r--drivers/media/video/cx88/cx88-alsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c
index a529c0a87d1a..76a8c01208c1 100644
--- a/drivers/media/video/cx88/cx88-alsa.c
+++ b/drivers/media/video/cx88/cx88-alsa.c
@@ -285,6 +285,8 @@ static irqreturn_t cx8801_irq(int irq, void *dev_id)
handled = 1;
cx_write(MO_PCI_INTSTAT, status);
+ if (status & core->pci_irqmask)
+ cx88_core_irq(core, status);
if (status & PCI_INT_AUDINT) {
dprintk( 2, " ALSA IRQ handling\n" );
cx8801_aud_irq(chip);