mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
staging: comedi: cb_pcidas: 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:
committed by
Greg Kroah-Hartman
parent
e455494472
commit
07b2eb0e84
@@ -981,7 +981,7 @@ static int cb_pcidas_ai_cmd(struct comedi_device *dev,
|
||||
spin_lock_irqsave(&dev->spinlock, flags);
|
||||
devpriv->adc_fifo_bits |= INTE;
|
||||
devpriv->adc_fifo_bits &= ~INT_MASK;
|
||||
if (cmd->flags & TRIG_WAKE_EOS) {
|
||||
if (cmd->flags & CMDF_WAKE_EOS) {
|
||||
if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) {
|
||||
/* interrupt end of burst */
|
||||
devpriv->adc_fifo_bits |= INT_EOS;
|
||||
|
||||
Reference in New Issue
Block a user