]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: cb_pcidas: use CMDF_WAKE_EOS
authorIan Abbott <abbotti@mev.co.uk>
Wed, 3 Sep 2014 12:45:35 +0000 (13:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:50:14 +0000 (13:50 -0700)
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>
drivers/staging/comedi/drivers/cb_pcidas.c

index a0bb4c86904464117348ee3556f483659fe92a31..f5dd7dd7d60a61ac8731c8b4379a0240e7c455c4 100644 (file)
@@ -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;