ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 28 Sep 2021 13:49:40 +0000 (15:49 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Oct 2021 05:58:25 +0000 (13:58 +0800)
commit783f3db030563f7bcdfe2d26428af98ea1699a8e
treee2a6ba51d4011989099c1000a9e127e95a62f6cf
parent8b94aa318aa746fbbc668d6b9b3ad812c835230c
ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence

Any pending interrupt can prevent entering standby based power off state.
To avoid it, disable the GIC CPU interface.

Fixes: 8148d2136002 ("ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/pm-imx6.c