ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen
authorTero Kristo <[email protected]>
Fri, 27 Feb 2015 13:59:26 +0000 (15:59 +0200)
committerPaul Walmsley <[email protected]>
Sun, 1 Mar 2015 23:58:25 +0000 (16:58 -0700)
commit50f59d07e9822274a2e6034777eb4e90cfb30cfc
tree24a230167abaa3115fff48e4527793132d2ecbcd
parent80d2518dfd19e9750d0c1203851774bb9732268b
ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen

This was incorrectly reading the irq status registers during the save
and clear, instead of the irq enable. This worked because there is only
one user for the prcm interrupts currently, namely the io-chain. Whenever
the function was called, an io-chain interrupt was both pending and
enabled.

Signed-off-by: Tero Kristo <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Tony Lindgren <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
arch/arm/mach-omap2/prm44xx.c