commit | c14d1769ba81ed084adb450d2fa1bacaee3cd2c7 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Jul 02 14:26:24 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:56:14 2012 -0700 |
tree | e2d27fcbf79eb0fbf4905a37247bfb48e62fa211 | |
parent | f4ce61a0ca021d9226da9c3269899ae75725468a [diff] |
staging: comedi: s626: fix the number of dio channels The first digital i/o subdevice has its n_chan set to S626_DIO_CHANNELS which is defined as 48. This is actually the total number of channels provided by all three digital i/o subdevices. Each subdevice only has 16 channels. 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>