diff options
| author | H Hartley Sweeten <[email protected]> | 2014-07-14 12:23:41 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-16 13:24:41 -0700 |
| commit | 093b6968857eb47493b955989ae62bb857648117 (patch) | |
| tree | ddd515b644e2b3bef13c40dd1b9f2bf40dab8a4c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | fed3c23b5e3c56e358e751418d7310b9c8e926cc (diff) | |
staging: comedi: ni_mio_common: fix ni_ao_insn_write_671x()
Comedi (*insn_write) functions are expected to write insn->n values to
the hardware. Fix this function to work like the core expects.
Also, use the comedi_offset_munge() helper to convert the comedi unsigned
values into the two's complement values that the hardware needs.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions