diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-06 21:11:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 08:55:31 +0300 |
| commit | 597063341936a3ccddb30783781d474d7e7d70cd (patch) | |
| tree | 55583885912f92678166d2b12a732f45747a45c1 /include/linux | |
| parent | c9ab30239aa33e5d79917303f9c67dff98cc75c3 (diff) | |
| download | linux-597063341936a3ccddb30783781d474d7e7d70cd.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
