From: Frank Mori Hess Date: Sun, 28 Sep 2003 19:50:54 +0000 (+0000) Subject: a couple of people have reported interrupts not working, I'm guessing X-Git-Tag: r0_7_69~194 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6091d7da573e9a98ec1dd4dc03dd20d8e93782a8;p=comedi.git a couple of people have reported interrupts not working, I'm guessing the interrupt needs to be cleared at the end of the interrupt handler. --- diff --git a/comedi/drivers/das16.c b/comedi/drivers/das16.c index 22dc410f..8e04ab0b 100644 --- a/comedi/drivers/das16.c +++ b/comedi/drivers/das16.c @@ -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; }