From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:06:57 +0000 (-0700) Subject: staging: comedi: ni_65xx: hook up command support only if irq is available X-Git-Tag: cleanup-for-v3.18~125^2~706 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33998d67d5269430f8a52c719817f9e47fef47b0;p=pandora-kernel.git staging: comedi: ni_65xx: hook up command support only if irq is available Subdevice 3 is used in this driver to provide edge detection of the input channels. Move the reset/disable of the interrupts and the request_irq() so that when subdevice 3 is setup we can conditionally hookup the async command support only if the irq is available. Also, remove the noise when the irq is not available. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed