]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: multiq3: allow user to reset encoder channels
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 Oct 2015 22:33:15 +0000 (15:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:18:33 +0000 (21:18 -0700)
commit365e7b8f6f1cd9b5318dd71901c3346f5b32a739
tree8acde7ef79f02d168ad066df927b4e13964b03c8
parentd4c6e9a7f237305a0ca3205f6ecfe90c5d925769
staging: comedi: multiq3: allow user to reset encoder channels

Currently this driver resets all the encoder channels when the driver
is first attached. Add a (*insn_config) to the subdevice to allow the
use to reset the channels manually.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/multiq3.c