From: Ian Abbott Date: Mon, 28 Jul 2014 12:09:30 +0000 (+0100) Subject: staging: comedi: amplc_pc236: don't disable h/w interrupt on detach() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7637a912911ae4346e19e954d9481f7a5b0e48b;p=pandora-kernel.git staging: comedi: amplc_pc236: don't disable h/w interrupt on detach() If an asynchronous command was running when the device is being detached, the comedi core would have called the subdevice `cancel` handler (`pc236_intr_cancel()`) before calling the `detach` handler (`pc236_detach()`). Since the cancel handler disables hardware interrupts (at least for the PCI236 board) by calling `pc236_disable_intr()`, there is no need for the detach handler to do so as well. Remove the call to `pc236_disable_intr()` from `pc236_detach()`. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed