From: Kevin Hilman Date: Mon, 26 Apr 2010 21:59:09 +0000 (-0700) Subject: OMAP3: PRCM interrupt: only check and clear enabled PRCM IRQs X-Git-Tag: v2.6.35-rc1~456^2~25^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6290a3ead555c0b092d48288b4dc0566580e17f;p=pandora-kernel.git OMAP3: PRCM interrupt: only check and clear enabled PRCM IRQs While handling PRCM IRQs, mask out interrupts that are not enabled in PRM_IRQENABLE_MPU. If these are not masked out, non-enabled interrupts are caught, a WARN() is printed due to no 'handler' and the events are cleared. In addition to being noisy, this can also interfere with independent polling of this register by SR/VP code. This was noticed using SmartReflex transitions which cause the VPx_* interrupts to be handled since they are set in PRM_IRQSTATUS_MPU even but not enabled in PRM_IRQENABLE_MPU. Acked-by: Mike Turquette Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed