staging: comedi: ni_labpc_common: use CMDF_PRIORITY

Replace use of `TRIG_RT` command flag with the equivalent flag
`CMDF_PRIORITY`.  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:
Ian Abbott 2014-09-03 13:45:28 +01:00 committed by Greg Kroah-Hartman
parent 34ae416050
commit 7ae5857aa2

View file

@ -690,7 +690,7 @@ static int labpc_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
if (labpc_have_dma_chan(dev) &&
/* dma unsafe at RT priority,
* and too much setup time for TRIG_WAKE_EOS */
(cmd->flags & (TRIG_WAKE_EOS | TRIG_RT)) == 0)
(cmd->flags & (TRIG_WAKE_EOS | CMDF_PRIORITY)) == 0)
xfer = isa_dma_transfer;
else if (/* pc-plus has no fifo-half full interrupt */
board->is_labpc1200 &&