staging: comedi: addi_apci_1564: fix s->maxdata assignment in do subdevice init.
authorChase Southwood <chase.southwood@gmail.com>
Fri, 11 Jul 2014 04:02:55 +0000 (23:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:38:42 +0000 (17:38 -0700)
commit389e4dea54e2303059dff4eacd36188d4b6fe6c3
treeaba049628a2913931b94e7caba4c8dc7ff29b5a4
parent71893bb077a61c7b590bf7780422407a01a409c0
staging: comedi: addi_apci_1564: fix s->maxdata assignment in do subdevice init.

s->maxdata for the do subdevice should be 1, however currently it is
being set to 0xffffffff.  Fix this.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1564.c