diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2017-07-07 13:13:15 +0300 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2017-07-07 14:18:36 +0300 |
commit | 0c64ae47b79f3f86afab4bee84a8712581ec6921 (patch) | |
tree | 865c857911408a28f5a9bf30958a7f8eee94aa7d | |
parent | cf961f26861eead5f2d10d7c6c24507b707cef45 (diff) |
MLK15034: Fix missing decrement of master_lpi
This fixes commit 9982b452c61e ("MLK15034: ARM: cpuidle imx7d: Check
IPIs manually before LPI").
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
-rw-r--r-- | arch/arm/mach-imx/cpuidle-imx7d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx7d.c b/arch/arm/mach-imx/cpuidle-imx7d.c index aaa7a1acd488..33d750fe5331 100644 --- a/arch/arm/mach-imx/cpuidle-imx7d.c +++ b/arch/arm/mach-imx/cpuidle-imx7d.c @@ -161,6 +161,7 @@ static int imx7d_enter_low_power_idle(struct cpuidle_device *dev, * any additional IPIs. */ if (imx7d_gic_sgis_pending()) { + atomic_dec(&master_lpi); index = -1; goto skip_lpi_flow; } |