a couple of people have reported interrupts not working, I'm guessing
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 28 Sep 2003 19:50:54 +0000 (19:50 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 28 Sep 2003 19:50:54 +0000 (19:50 +0000)
the interrupt needs to be cleared at the end of the interrupt handler.

comedi/drivers/das16.c

index 22dc410f037124af3725f52b9df86e408a380b03..8e04ab0bc461656db9568e2fc2c454fb555c0249 100644 (file)
@@ -1156,10 +1156,10 @@ static irqreturn_t das16_dma_interrupt(int irq, void *d, struct pt_regs *regs)
                return IRQ_NONE;
        }
 
+       das16_interrupt(dev);
        /* clear interrupt */
        outb(0x00, dev->iobase + DAS16_STATUS);
 
-       das16_interrupt(dev);
        return IRQ_HANDLED;
 }