]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1d7ccd546cd06c957b81d2ff690ac55cc049de5
tree5d63981ee02ae7a9ecad3a5ea6d7327b04f67ec3
parentd8c78f73095d668281c87ecc86a7846d5c5d9e62
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