]> Pileus Git - ~andy/linux/commit
staging: comedi: pcl724: fix 96 DIO configuration option
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 10 Jun 2013 17:17:12 +0000 (10:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2013 00:16:48 +0000 (17:16 -0700)
commit8091fb739aab867e24d53bda16af2159baa04fd0
tree5c587edc6da42fe7cab2805686779779104ee58b
parente33437fc30826ee8eddbc543a6c77d68ba46254e
staging: comedi: pcl724: fix 96 DIO configuration option

According to the comedi documentation at the beginning of the file,
configuration option 2 sets the number of DIO channels on the boards
that support 144 or 96 channels.

Fix the (*attach) to use the correct configuration option.

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