]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci6208: fix the digital i/o subdevice
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 22:00:50 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:40:04 +0000 (15:40 -0700)
commit5e72134355c6e4530169bb5b0ae0eb78fc0b9d99
tree6b46a6ba8f018e35a800bcafb1a899e04a7cb2d3
parent8442b0ca27e5afd5d7cba93b5a25de97a47f6bdd
staging: comedi: adl_pci6208: fix the digital i/o subdevice

The PCI-6208 board has 4 digital outputs and 4 digital inputs.

The support for the digital i/o subdevice was commented out and
the code was just cut-and-paste from the skel driver. Enable
the digital i/o subdevice by uncommenting the code and fixing
the insn_bits and insn_config functions.

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>
drivers/staging/comedi/drivers/adl_pci6208.c