]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3fee59a7fe44bfd09aa2760a0b84b3f25413f2e
tree24a230167abaa3115fff48e4527793132d2ecbcd
parent11408406b487743fcd828a35bcede0b6c0c6e4a9
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