]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl/nomadik: MASK_ON_SUSPEND
authorEtienne Carriere <etienne.carriere@st.com>
Wed, 22 Aug 2012 08:44:16 +0000 (10:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Sep 2012 11:21:37 +0000 (13:21 +0200)
commit883c3ec2c1fda9ac0ded0af0622526b3d7c6196c
treea37597b49ed0fd5d6cf0360fe183a51a4b6d9ac0
parenta0947e60b594c8858605403398ef10742df4890a
pinctrl/nomadik: MASK_ON_SUSPEND

ux500 machines performs pins (GPIO) reconfiguration when entering
in the suspended mode. This reconfiguration aims at reaching an ultra
low power HW configuration.

Due to this HW reconfiguration, some HW devices can change of HW state
and have their output signals at level that could generate IRQs.

If the non-wakeup IRQs are disabled but not yet masked (delayed interrupt
disable feature from the generic irq layer), effective interrupts reach
the system only because the system attempt to enter the suspended mode.

To prevent such IRQs to trig, all irq chips embedded in ux500 platform
should enable their IRQCHIP_MASK_ON_SUSPEND flag.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c