s626: DIO subdevice 2 should have 16 channels.
authorIan Abbott <abbotti@mev.co.uk>
Tue, 3 Jul 2012 10:27:51 +0000 (11:27 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 3 Jul 2012 10:27:51 +0000 (11:27 +0100)
commit5b1e9d359adfb7b9d420528d3895322435c6b0ee
tree98c73e930654a296cfaaa6f2df000b19146c7cc9
parent235cd3bde72ab7f798414da1ca675ee2327184ca
s626: DIO subdevice 2 should have 16 channels.

Subdevice 2 (which is a DIO subdevice) has the wrong number of channels,
48 defined by the S626_DIO_CHANNELS macro.  That is the total number of
DIO channels to be split over 3 subdevices (subdevices 2, 3, 4 with 16
channels each).  Fix the number of channels for subdevice 2.

Spotted by H Hartley Sweeten in the "staging" sources.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/s626.c