]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP3: PM: PRCM interrupt: check MPUGRPSEL register
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Jul 2009 17:18:07 +0000 (10:18 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 5 Oct 2009 17:50:59 +0000 (10:50 -0700)
commited35577655fecadb9fe1ef46be08dd620dc499d3
tree1b17a5bfc20731c45da605993da37a0a57fa4ede
parent3fe815093db7166f827027b0cfd85da169b2847e
OMAP3: PM: PRCM interrupt: check MPUGRPSEL register

PM_WKST register contents should be ANDed with the contents of the
MPUGRPSEL registers.  Otherwise the MPU PRCM interrupt handler could
wind up clearing wakeup events meant for the IVA PRCM interrupt
handler. A future revision to this code should be to read a cached
version of MPUGRPSEL from the powerdomain code, since PRM reads are
relatively slow.

Updated after Jon Hunter's PRCM IRQ change by Kevin Hilman

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm34xx.c