commit | 5cd23c492ebce9ac4d9e5dd883d732c1ed1498c3 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 26 16:17:21 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 28 11:14:04 2015 -0800 |
tree | e28e73445ff2b569580ab639a1c41a2f7b5bc0e2 | |
parent | 1dc6e72903f6dbefd79ea2e9ce9c9e536e4e695b [diff] |
staging: comedi: das16: introduce das16_ai_set_mux_range() Introduce a helper function to program the mux and gain for analog input single channel (*insn_read) and multi-channel (*do_cmd) operations. 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>