diff options
| author | H Hartley Sweeten <[email protected]> | 2014-07-14 12:07:05 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-16 13:22:51 -0700 |
| commit | 5c70b5360b539f9b177bd02e0b3b88345116ee52 (patch) | |
| tree | 1924e3c480e7dba04b902ac7d20b1a939fba4364 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b44ce32ded8d5f57434f6ee9296c73b3875bd23c (diff) | |
staging: comedi: ni_65xx: remove 'output_bits' from private data
Remove the need for the 'output_bits' in the private data by just
reading the current state of the data port when updating the output
channels in the (*insn_bits) function.
Add a local variable to handle the inverting of the hardware values
when the boardinfo indicates that the outputs are inverted.
Rename the local variable 'port_read_bits' to 'bits' so that we can
use it for updating the output channels and reading back the actual
state to return to the user.
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