Commit 7ae5857a authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

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: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34ae4160
...@@ -690,7 +690,7 @@ static int labpc_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -690,7 +690,7 @@ static int labpc_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
if (labpc_have_dma_chan(dev) && if (labpc_have_dma_chan(dev) &&
/* dma unsafe at RT priority, /* dma unsafe at RT priority,
* and too much setup time for TRIG_WAKE_EOS */ * 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; xfer = isa_dma_transfer;
else if (/* pc-plus has no fifo-half full interrupt */ else if (/* pc-plus has no fifo-half full interrupt */
board->is_labpc1200 && board->is_labpc1200 &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment