OMAP3: PM: PRCM interrupt: check MPUGRPSEL register
commit5d80597801ff0d7e6b184504c04e9c1b3b61d16d
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Jul 2009 17:18:07 +0000 (22 10:18 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 5 Oct 2009 17:50:59 +0000 (5 10:50 -0700)
tree1b17a5bfc20731c45da605993da37a0a57fa4ede
parent77da2d910a17e1e6a7e949578723d5aab58568d5
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