summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-07 03:23:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 08:56:26 +0300
commit8a844a91cab4556b7b7e336951623b394a80c934 (patch)
treee4bfa77cb6e202fd2fa2cec28543cab189725450 /include/linux/flex_array.h
parent450a84e8cf689912cc33d18f5aba38da9312d2b9 (diff)
downloadlinux-8a844a91cab4556b7b7e336951623b394a80c934.tar.xz
staging: comedi: me_daq: allow differential analog inputs
The ai (*insn_read) allows differential analog inputs but the subdevice initialization is missing the SDF_DIFF subdev_flag to allow the user to select this mode. Fix the subdevice init. According to the manual, differential operation only works with the first 8 channels and bipolar ranges. Add a check to the (*insn_read) to ensure this. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions