]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: mpc624: there are only 4 analog inputs
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 00:33:30 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:24:11 +0000 (21:24 -0700)
commit7f847187a569dc85fbee83685d72a7c67d908353
tree223157cc928e85a1d1c0eea8bc50822618bb0b55
parent193577c71253abc54fdca0d65cf1a166e2ade585
staging: comedi: mpc624: there are only 4 analog inputs

According to the datasheet, this board has 4 differential analog
input channels not 8. Fix the subdevice init.

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/mpc624.c