diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-02-04 16:43:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 11:18:58 -0800 |
commit | 62100fefbc4f7f45149df1f537de17b4acf01391 (patch) | |
tree | c870c8f5ac5aea48c99998e723d2e2db8bae3d10 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 491cc0b042c2c2e7db0b2013e802f1d0124d1611 (diff) |
staging: comedi: quatech_daqp_cs: use (*insn_bits) for digital inputs
Change the subdevice operation used to read the digital inputs from
a (*insn_read) to a (*insn_bits) function. The (*insn_read) functions
are expected to read 'insn->n' number of samples. The (*insn_bits)
functions just read a single sample (insn->n = 1). Change the return
from '1' to 'insn->n' to clarify what the return is.
Also, set the 'maxdata' for the subdevice. For digital io this value
should be '1' (digital io can only be 1 or 0).
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions