comedi/comedi_fops.c: Check length of INSN_CONFIG_DIGITAL_TRIG data
authorIan Abbott <abbotti@mev.co.uk>
Thu, 21 Mar 2013 16:21:52 +0000 (16:21 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 21 Mar 2013 16:21:52 +0000 (16:21 +0000)
commitb593378c9f5cc1a24a81b3f4cac6872f384a6798
tree57bf85a5839cc9d511fd046ecdfbe9bfdb0572aa
parentaa731b98a253ef5d629f597a5ed9c8f50fe30582
comedi/comedi_fops.c: Check length of INSN_CONFIG_DIGITAL_TRIG data

`check_insn_config_length()` checks the data length for instructions we
know about.  Expect 6 data values for the INSN_CONFIG_DIGITAL_TRIG
instruction.  None of our drivers support this instruction yet.

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