mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
staging: comedi: quatech_daqp_cs: ao subdevice does not support commands
The analog output subdevice does not support aynchronous commands. Don't set the dev->write_subdev to this subdevice. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
25736670bc
commit
9c1dcce9c6
1 changed files with 0 additions and 1 deletions
|
|
@ -763,7 +763,6 @@ static int daqp_auto_attach(struct comedi_device *dev,
|
|||
s->cancel = daqp_ai_cancel;
|
||||
|
||||
s = &dev->subdevices[1];
|
||||
dev->write_subdev = s;
|
||||
s->private = local;
|
||||
s->type = COMEDI_SUBD_AO;
|
||||
s->subdev_flags = SDF_WRITEABLE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue