mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
staging: comedi: use CMDF_BOGUS in do_cmd_ioctl()
`TRIG_BOGUS` is now just a synonym for `CMDF_BOGUS`. Change `do_cmd_ioctl()` to use the new name. 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
dd7eb1251d
commit
b0446a21bd
1 changed files with 1 additions and 1 deletions
|
|
@ -1532,7 +1532,7 @@ static int do_cmd_ioctl(struct comedi_device *dev,
|
|||
|
||||
ret = s->do_cmdtest(dev, s, &async->cmd);
|
||||
|
||||
if (async->cmd.flags & TRIG_BOGUS || ret) {
|
||||
if (async->cmd.flags & CMDF_BOGUS || ret) {
|
||||
dev_dbg(dev->class_dev, "test returned %d\n", ret);
|
||||
cmd = async->cmd;
|
||||
/* restore chanlist pointer before copying back */
|
||||
|
|
|
|||
Loading…
Reference in a new issue