commit | a7d3d419f905e5a3203874e4b7a9e45d2167f2b5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Sep 30 17:53:50 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 03 14:04:50 2013 -0700 |
tree | 3815a9c19a6e568a51e5b25911ac33b1efb59d5c | |
parent | 100515f81099f42524e64d153882a400aad22248 [diff] |
staging: comedi: ni_at_ao: introduce atao_select_reg_group() To clarify the code a bit, introduce a helper function to set/clear the GRP2WR bit in the CFG1 register. This bit selects which group of registers are used for the registers that share the same I/O addresses. 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>