Fix: make sure to flag a EOS event in interrupts
authorDavid Schleef <ds@schleef.org>
Fri, 7 Jun 2002 00:00:07 +0000 (00:00 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 7 Jun 2002 00:00:07 +0000 (00:00 +0000)
comedi/drivers/comedi_parport.c

index 6497e7cb68cf56be9e498d32249f763eef521230..47fe4fb7bf30311d6bc93f66c15d366e10cf8db7 100644 (file)
@@ -279,6 +279,7 @@ static void parport_interrupt(int irq,void *d,struct pt_regs *regs)
                s->async->buf_int_ptr=0;
                s->async->events |= COMEDI_CB_EOBUF;
        }
+       s->async->events |= COMEDI_CB_EOS;
        
        comedi_event(dev,s,s->async->events);
 }