Only one Comedi driver currently uses the `INSN_CONFIG_DIGITAL_TRIG` configuration instruction (for configuring digital triggers) and that was only added very recently (not yet in mainline). Its usage has not been well defined so far, so now is a good time to define its usage and hopefully make it flexible enough to be used by other drivers, possibly requiring several consecutive `INSN_CONFIG_DIGITAL_TRIG` instructions to fully define a digital trigger. 1) staging: comedi: check data length for INSN_CONFIG_DIGITAL_TRIG 2) staging: comedi: addi_apci_1032: conform to new INSN_CONFIG_DIGITAL_TRIG 3) staging: comedi: define operations for INSN_CONFIG_DIGITAL_TRIG drivers/staging/comedi/comedi.h | 38 ++++++++++++++ drivers/staging/comedi/comedi_fops.c | 4 ++ drivers/staging/comedi/drivers/addi_apci_1032.c | 70 ++++++++++++++++++++----- 3 files changed, 98 insertions(+), 14 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel