]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-omap2/cpuidle44xx.c
ARM: OMAP4: cpuidle: fix: call cpu_cluster_pm_exit conditionally
[~andy/linux] / arch / arm / mach-omap2 / cpuidle44xx.c
index c443f2e97e103702531c79b70dccebc11a85218d..4c8982ae95295f508c1fc6610f8c47d1e1c8137d 100644 (file)
@@ -143,7 +143,7 @@ static int omap_enter_idle_coupled(struct cpuidle_device *dev,
         * Call idle CPU cluster PM exit notifier chain
         * to restore GIC and wakeupgen context.
         */
-       if ((cx->mpu_state == PWRDM_POWER_RET) &&
+       if (dev->cpu == 0 && (cx->mpu_state == PWRDM_POWER_RET) &&
                (cx->mpu_logic_state == PWRDM_POWER_OFF))
                cpu_cluster_pm_exit();