aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-06 11:11:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 22:55:31 -0700
commit597063341936a3ccddb30783781d474d7e7d70cd (patch)
tree55583885912f92678166d2b12a732f45747a45c1 /scripts/basic
parentstaging: comedi: mf6x4: introduce a macro to select the AI channel (diff)
staging: comedi: mf6x4: A/D converter uses 2's complement coding
According to the user's manual, the A/D converter uses 2's complement coding. Use the comedi_offset_munge() helper to convert the data to the offset binary format used by comedi. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> drivers/staging/comedi/drivers/mf6x4.c | 5 ++--- Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions