commit | b99c859b8fc3db534c7ef7700c1627d0e3df4dbe | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed May 04 12:47:10 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 17 20:44:04 2016 -0700 |
tree | 01069cae29ed92f584bf9f2ae0fcae3cb386aa6d | |
parent | 022ac9529986e494b39386ab59eb97c99d2e4983 [diff] |
staging: comedi: dt2811: tidy up A/D Gain/Channel register defines Cleanup the defines for this register and its bits and remove the redundant information in the comment. Make the (*insn_read) use the range to set the gain bits correctly. Currently the gain is always set to 1. 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>