From: Chase Southwood Date: Thu, 3 Jul 2014 02:17:04 +0000 (-0500) Subject: staging: comedi: addi_apci_1564: fix use of apci1564_reset() to disable DI interrupts X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89ced89d8c0d155e8d802612e3860a440d04afe;p=pandora-kernel.git staging: comedi: addi_apci_1564: fix use of apci1564_reset() to disable DI interrupts apci1564_cos_insn_config() is currently using apci1564_reset() to disable digital input interrupts when the configuration operation is COMEDI_DIGITAL_TRIG_DISABLE. However, this is incorrect as the device reset function also resets the registers for the digital outputs, timer, watchdog, and counters as well. Replace the reset function call with a direct disabling of just the digital input interrupts. Signed-off-by: Chase Southwood Cc: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed