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)
commitfc2536fd814ea1e4399ccbfc913b5742e467320a
tree6b46a6ba8f018e35a800bcafb1a899e04a7cb2d3
parentb4dda059056a9be086fc95abe2a7410b87e6c33f
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