commit | ee4c7709fbb29860c3200b1296a18adff01d2307 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Oct 12 12:16:35 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 13 10:26:06 2015 -0700 |
tree | f9ff0bcc637e3def4e6458a69f8103892c0133bc | |
parent | 1198f6b09f05e1aef96e59c6af359dffa6d926e1 [diff] |
staging: comedi: aio_aio12_8: fix ai (*insn_read) According to the user manual, analog input bipolar data is 2's complement and unipolar is straight binry. Use the core helpers to munge the data appropriately. 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>