devpriv->ul_DmaBufferVirtual[devpriv->
ui_DmaActualBuffer], samplesinbuf);
- if (!(cmd->flags & CMDF_WAKE_EOS)) {
+ if (!(cmd->flags & CMDF_WAKE_EOS))
s->async->events |= COMEDI_CB_EOS;
- comedi_handle_events(dev, s);
- }
}
if (cmd->stop_src == TRIG_COUNT)
if (devpriv->ui_AiActualScan >= cmd->stop_arg) {
/* all data sampled */
s->async->events |= COMEDI_CB_EOA;
- comedi_handle_events(dev, s);
return;
}
if (err == 0)
s->async->events |= COMEDI_CB_OVERFLOW;
- comedi_handle_events(dev, s);
-
return 0;
}
dev->iobase + APCI3120_WR_ADDRESS);
s->async->events |= COMEDI_CB_EOA;
- comedi_handle_events(dev, s);
-
break;
case APCI3120_TIMER:
}
}
+ comedi_handle_events(dev, s);
}
/*