commit | 8c2bc333af026bed05a0041b028c34ef9b5c9cab | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 22 09:48:44 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 11:42:58 2013 -0700 |
tree | 4e50834bf09bf850479a8a5ca9a64f70cd6e1709 | |
parent | 73f2b1d26f3d97f7c34166d22b30f89dc9cf9402 [diff] |
staging: comedi: ni_labpc: introduce labpc_ai_set_chan_and_gain() Introduce a helper function to set the channel and gain bits in the COMMAND1_REG. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>