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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Oct 2021 08:05:39 +0000 (10:05 +0200)
commit7a9475a585c4657d7fd8fa59bd54b3b33fdb68a9
tree786f03c3c048db401a794f0b8c443c4756d9342b
parenteb71a4fd3e56ebebe9374a007f5d5a8e8cc378a9
ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence

[ Upstream commit 783f3db030563f7bcdfe2d26428af98ea1699a8e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-imx/pm-imx6.c