From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:55:15 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: fix timer (*insn_config) X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d31274053716b4cac60a6de7eb40aba8adeb9d5;p=pandora-kernel.git staging: comedi: addi_apci_3120: fix timer (*insn_config) The timer subdevice in this driver does not follow the comedi API. Fix the (*insn_config) to correctly arm, disarm, set the mode, and get the status of the timer. Remove the unnecessary, and broken, (*insn_write). The new (*insn_config) does not enable the interrupt for timer 2. Remove the interrupt support code for the timer. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed