From 1e15687ea472614d48416c53bebcf213c07a5532 Mon Sep 17 00:00:00 2001 From: Chase Southwood Date: Sat, 21 Jun 2014 17:25:58 -0500 Subject: [PATCH] staging: comedi: addi_apci_1564: add Change-of-State interrupt subdevice and required functions This board supports an interrupt that can be generated by an AND/OR combination of 16 of the input channels. Create a separate subdevice to handle this interrupt. The apci1564_di_config() function is used to configure which inputs are used to generate the interrupt. Currently this function is broken since it does not follow the comedi API for insn_config functions. Fix this function by implementing the config instruction INSN_CONFIG_DIGITAL_TRIG. Add the remaining subdevice operations necessary for the interrupt subdevice to support async commands. Signed-off-by: Chase Southwood Reviewed-by: Ian Abbott Cc: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed