diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-18 13:25:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-24 15:51:04 -0700 |
commit | 89aaa92adffa5c57d9c2a545c7cb9809ddd3b615 (patch) | |
tree | b66314598c1cb10a2c31ca388477fc69fe5ab948 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 1699d80aef8ba7992d5f4176aed3504db8cffaf9 (diff) |
staging: comedi: pcmuio: introduce pcmuio_read()
Introduce a helper function to handle reading a 24-bit value from the
three 8-bit registers associated with a "port" or "page".
Simplify the for() loop in pcmuio_handle_asic_interrupt() that finds
which channels have triggered the interrupt.
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions