}
s->async->events |= COMEDI_CB_EOS;
comedi_event(dev,s,s->async->events);
+ s->async->events = 0;
#ifdef CONFIG_COMEDI_RTL
rt_task_wait();
#endif
}
s->async->events |= COMEDI_CB_EOA;
comedi_event(dev,s,s->async->events);
+ s->async->events = 0;
#ifdef CONFIG_COMEDI_RTL
rtl_global_pend_irq(devpriv->soft_irq);
#endif
}
s->async->events |= COMEDI_CB_EOS;
comedi_event(dev,s,s->async->events);
+ s->async->events = 0;
#ifdef CONFIG_COMEDI_RTL
rt_task_wait();
#endif
}while(ao_repeat_flag);
s->async->events |= COMEDI_CB_EOA;
comedi_event(dev,s,s->async->events);
+ s->async->events = 0;
#ifdef CONFIG_COMEDI_RTL
rtl_global_pend_irq(devpriv->soft_irq);
#endif
struct timespec ts;
comedi_cmd *cmd = &s->async->cmd;
+ s->async->events = 0;
+
/* hack attack: drivers are not supposed to do this: */
dev->rt = 1;