ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen
authorTero Kristo <t-kristo@ti.com>
Fri, 27 Feb 2015 13:59:26 +0000 (15:59 +0200)
committerPaul Walmsley <paul@pwsan.com>
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 <t-kristo@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/prm44xx.c