commit | 0546f777627b93022bdb2d8b7fdfb91d2f8f4c74 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 18:20:02 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 09 16:29:07 2013 -0700 |
tree | 0d957b1d5cad37f37792f3f811222ac99783e611 | |
parent | ee3526966589b77edba46659ecaec269f67d7216 [diff] |
staging: comedi: rti800: tidy up analog input 'muxgain' Refactor the code that determines the 'delay' after setting the muxgain register to remove the BUG_ON(). Change the private data 'muxgain_bits' to an unsigned char, the muxgain register is only 8-bits. 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>