]> 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)
commit5f03d2527701b3a96d9964893bc1e8be2c9b40c7
tree24a230167abaa3115fff48e4527793132d2ecbcd
parent949b1e6bac01047df2d9a8d97f824d243dfb4db1
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