ARM: OMAP2+: Restore MPU power domain if cpu_cluster_pm_enter() fails
authorTony Lindgren <tony@atomide.com>
Wed, 23 Sep 2020 06:16:22 +0000 (09:16 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Sep 2020 07:39:33 +0000 (10:39 +0300)
commit8f04aea048d56f3e39a7e543939450246542a6fc
treea946416248c6ed360321ada8564874cb8533aebf
parentb753e41d9999c040c601de53cc1e072160472d80
ARM: OMAP2+: Restore MPU power domain if cpu_cluster_pm_enter() fails

If cpu_cluster_pm_enter() fails, we need to set MPU power domain back
to enabled to prevent the next WFI from potentially triggering an
undesired MPU power domain state change.

We already do this for omap_enter_idle_smp() but are missing it for
omap_enter_idle_coupled().

Fixes: 55be2f50336f ("ARM: OMAP2+: Handle errors for cpu_pm")
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/cpuidle44xx.c