add missing comedi_event() call after overflow
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 1 Sep 2003 00:20:33 +0000 (00:20 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 1 Sep 2003 00:20:33 +0000 (00:20 +0000)
comedi/drivers/ni_labpc.c

index 7546596f101f6b2d634a5cc58ad9c423e760cbdf..285ea5f5d9042e4a8deb970c19053d366fbb3de4 100644 (file)
@@ -1377,6 +1377,7 @@ static irqreturn_t labpc_interrupt(int irq, void *d, struct pt_regs *regs)
                // clear error interrupt
                thisboard->write_byte(0x1, dev->iobase + ADC_CLEAR_REG);
                async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
+               comedi_event(dev, s, async->events);
                comedi_error(dev, "overflow");
                return IRQ_HANDLED;
        }