staging: comedi: dt2801: do INSN_CONFIG properly for DIO subdevice.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 9 Jan 2012 15:48:35 +0000 (15:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:55:53 +0000 (09:55 -0800)
commit8383def69b8629df052f917acb844381bdd6e000
treec45a2a0472fd9851d34c282014bb40da7994de91
parent586b9839273b3b58b28a26e4518be13366cecaeb
staging: comedi: dt2801: do INSN_CONFIG properly for DIO subdevice.

Handle INSN_CONFIG_DIO_INPUT, INSN_CONFIG_DIO_OUTPUT and
INSN_CONFIG_DIO_QUERY in data[0].

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt2801.c