From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:14 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: properly disable interrupts in apci3120_cancel() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~325 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2cf40a31df207dacc298bc6c559b24e28a896e2;p=pandora-kernel.git staging: comedi: addi_apci_3120: properly disable interrupts in apci3120_cancel() The APCI3120_DISABLE_ALL_INTERRUPT define is a mask value used to clear bits in devpriv->b_ModeSelectRegister to disable the interrupt sources. Writing this value directly sets unintended bits. Just set the devpriv->b_ModeSelectRegister to '0' and write that to the register. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed