提交 5ba862b7 编写于 作者: T Trent Piepho 提交者: Mauro Carvalho Chehab

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: NTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 8ddac9ee
...@@ -285,6 +285,8 @@ static irqreturn_t cx8801_irq(int irq, void *dev_id) ...@@ -285,6 +285,8 @@ static irqreturn_t cx8801_irq(int irq, void *dev_id)
handled = 1; handled = 1;
cx_write(MO_PCI_INTSTAT, status); cx_write(MO_PCI_INTSTAT, status);
if (status & core->pci_irqmask)
cx88_core_irq(core, status);
if (status & PCI_INT_AUDINT) { if (status & PCI_INT_AUDINT) {
dprintk( 2, " ALSA IRQ handling\n" ); dprintk( 2, " ALSA IRQ handling\n" );
cx8801_aud_irq(chip); cx8801_aud_irq(chip);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册