commit | 463f930401024926eadf4c613a547f2eb41a2882 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 22 09:53:49 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 11:42:59 2013 -0700 |
tree | 43f6412da74fc03ba57e7a565a594224b308c51c | |
parent | 161ce6fa4b6c3538f104e51e101771a2abc72677 [diff] |
staging: comedi: ni_labpc: introduce labpc_counter_set_mode() Introduce labpc_counter_set_mode() which is a wrapper around the i8254_set_mode() helpers to program the 8254 timers. Use the new function instead of directly writing to the timer mode register with a "magic" number. 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>