]> git.karo-electronics.de Git - linux-beck.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)
commit4b7b3d04f45b89c1c145737528c7b9c87b92a057
tree223157cc928e85a1d1c0eea8bc50822618bb0b55
parent70e803352f100a9404ace6d06a6f7bec3909fb2d
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