Commit 1198f6b0 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: aio_aio12_8: analog outputs are single-ended

The analog outputs are all single-ended. Remove the SDF_DIFF
subdev_flag from the subdevice initialization.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5fcb7ca
...@@ -234,7 +234,7 @@ static int aio_aio12_8_attach(struct comedi_device *dev, ...@@ -234,7 +234,7 @@ static int aio_aio12_8_attach(struct comedi_device *dev,
if (board->ao_nchan) { if (board->ao_nchan) {
/* Analog output subdevice */ /* Analog output subdevice */
s->type = COMEDI_SUBD_AO; s->type = COMEDI_SUBD_AO;
s->subdev_flags = SDF_WRITABLE | SDF_GROUND | SDF_DIFF; s->subdev_flags = SDF_WRITABLE | SDF_GROUND;
s->n_chan = 4; s->n_chan = 4;
s->maxdata = 0x0fff; s->maxdata = 0x0fff;
s->range_table = &aio_aio12_8_range; s->range_table = &aio_aio12_8_range;
......
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