staging: comedi: me4000: Check for unsupported INSN_CONFIG.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 9 Jan 2012 15:48:56 +0000 (15:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:55:54 +0000 (09:55 -0800)
commitf3445c1e5915bc554da1ee524b17c5d59e921ebc
tree5d63981ee02ae7a9ecad3a5ea6d7327b04f67ec3
parent8383def69b8629df052f917acb844381bdd6e000
staging: comedi: me4000: Check for unsupported INSN_CONFIG.

The INSN_CONFIG handler for the DIO subdevice should error out for
unsupported configuration instruction codes.

Also fix incorrect use of constant COMEDI_OUTPUT where
INSN_CONFIG_DIO_OUTPUT was meant.

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