mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
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:
parent
34ae416050
commit
7ae5857aa2
1 changed files with 1 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue