]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_2032: fix interrupt support
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:21:24 +0000 (18:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:31 +0000 (18:05 -0800)
commit05fcdcede016a74ce7350af94aede6a49eebd5c9
tree69f8e84b1cb9aeae52605e1250995d549ebfb70e
parentb3b7dab7580982a7d0b55395a8b116808447f85a
staging: comedi: addi_apci_2032: fix interrupt support

This board supports two interrupt sources:

VCC : detects when the external supply voltage drops below 5V
CC  : over temperature diagnostic

Currently the interrupt support is tied into the digital output
subdevice. It's also broken since it does not follow the comedi
API.

Create a new digital input subdevice to handle the interrupts.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_2032.c