diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2014-10-31 14:32:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 16:31:23 -0800 |
| commit | cf5d2af6839deb2e7765648ce139dc9677db0c18 (patch) | |
| tree | 9b6d2c9788491abac38d455d8ea827b0908416a8 /tools/perf/scripts/python | |
| parent | c234566f776464594f6b73022497d4f5efd83e46 (diff) | |
staging: comedi: icp_multi: correct insn_bits returned data for DO
For some unfathomable reason, the Comedi `insn_bits` handler for the
digital output subdevice (`icp_multi_insn_bits_do()`) writes the digital
output register and reads back the unrelated digital input register.
Read back the current state of the outputs (held in `s->state`) instead.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
