commit | 89aaa92adffa5c57d9c2a545c7cb9809ddd3b615 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jun 18 13:25:15 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 15:51:04 2013 -0700 |
tree | b66314598c1cb10a2c31ca388477fc69fe5ab948 | |
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>