mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: comedi: addi_apci_3120: use CMDF_WAKE_EOS
Replace use of `TRIG_WAKE_EOS` command flag with the new name `CMDF_WAKE_EOS`. The numeric value is unchanged. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d8bff6e35e
commit
dfd0f083b9
1 changed files with 2 additions and 2 deletions
|
|
@ -1114,7 +1114,7 @@ static int apci3120_cyclic_ai(int mode,
|
|||
dmalen0;
|
||||
}
|
||||
|
||||
if (cmd->flags & TRIG_WAKE_EOS) {
|
||||
if (cmd->flags & CMDF_WAKE_EOS) {
|
||||
/* don't we want wake up every scan? */
|
||||
if (dmalen0 > scan_bytes) {
|
||||
dmalen0 = scan_bytes;
|
||||
|
|
@ -1433,7 +1433,7 @@ static void apci3120_interrupt_dma(int irq, void *d)
|
|||
devpriv->ul_DmaBufferVirtual[devpriv->
|
||||
ui_DmaActualBuffer], samplesinbuf);
|
||||
|
||||
if (!(cmd->flags & TRIG_WAKE_EOS)) {
|
||||
if (!(cmd->flags & CMDF_WAKE_EOS)) {
|
||||
s->async->events |= COMEDI_CB_EOS;
|
||||
comedi_event(dev, s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue