From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:45:15 +0000 (-0700) Subject: staging: comedi: me4000: only enable PLX interrupt if we have and irq X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~197 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f3f3eb7a264630a73c23cecfa2af2235775e09a;p=pandora-kernel.git staging: comedi: me4000: only enable PLX interrupt if we have and irq Currently me4000_reset() always enables the PLX interrupt. Move the enable of the interrupt into me4000_auto_attach() and only do the enable if we actually have and irq. Make sure the PLX interrupt is disabled in me4000_reset() before we try to request the irq. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed