summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-11 16:55:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 15:33:23 -0800
commit0c0eadadcbe6ed9596568696f9c5b157707a7c8f (patch)
tree4a38ce58e7940271e301c6ee3b5298650e716b28 /tools/perf/scripts/python/syscall-counts.py
parent933fca13a0b81aa247e0b428f0b873f9b8a5137e (diff)
staging: comedi: dmm32at: introduce dmm32_ai_get_sample()
Introduce a helper function to read the two's complement analog input sample from the hardware and munge it to the offset binary (unsigned) format that comedi expects. Use the comedi_offset_munge() helper to munge the data. Use the new helper in the analog input (*insn_read) and in the interrupt handler for the async command. 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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions