`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>
if (insn->n == 5)
return 0;
break;
+ case INSN_CONFIG_DIGITAL_TRIG:
+ if (insn->n == 6)
+ return 0;
+ break;
//by default we allow the insn since we don't have checks for all possible cases yet
default:
rt_printk