From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:02 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: introduce apci3120_timer_enable() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~337 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ffa00a3cb634a363ee72339cb740ffdee389f66;p=pandora-kernel.git staging: comedi: addi_apci_3120: introduce apci3120_timer_enable() Introduce a helper function to enable/disable a timer. The disable of timers 0 and 1 in apci3120_interrupt() is probably not needed. For now use the helper function to make sure the devpriv->ctrl bits are cleared correctly to disable the timers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed