aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-09-18 11:50:05 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 15:45:43 -0700
commit8a6573a875dea244a5b6ca27174f1a3f3898d8ee (patch)
tree0f1a0292beac04778db2a8c37ab928c5e9de780a /include/linux
parentstaging: comedi: core: introduce comedi_offset_munge() (diff)
staging: comedi: adl_pci6208: use comedi_offset_munge()
Use comedi_offset_munge() to munge the offset binary values from the comedi core into the two's complement form that the hardware expects. This removes the hard coded assumption that the analog outputs are 16-bits and instead does the munging based on the s->maxdata. 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')
0 files changed, 0 insertions, 0 deletions