From: Ben Nizette Date: Wed, 15 Apr 2009 19:54:12 +0000 (+1000) Subject: ipu_idmac: Use disable_irq_nosync() from within irq handlers. X-Git-Tag: linux-omap-v2.6.30-rc6~25^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca50a51e890b0a62b44b5642c1ba5049909e5a8b;p=pandora-kernel.git ipu_idmac: Use disable_irq_nosync() from within irq handlers. disable_irq() should wait for all running handlers to complete before returning. As such, if it's used to disable an interrupt from that interrupt's handler it will deadlock. This replaces the dangerous instances with the _nosync() variant which doesn't have this problem. Note the 2 handlers in question are only used #ifdef DEBUG so I imagine these code paths don't get hit often. Signed-off-by: Ben Nizette Acked-by: Guennadi Liakhovetski Signed-off-by: Dan Williams --- Reading git-diff-tree failed