From dca48c8c55d480bf7c806474bf47b42c3a080d4b Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Mon, 25 Jul 2011 18:31:19 -0700 Subject: ARM: tegra: power: CPU complex must be suspended on CPU0 All CPUs are not created equal. CPU0 must be the one to perform the CPU complex rail gating action and as such must always be the last CPU taken down. Change-Id: I92d1c1c29305d2bf35a15baa43a6d299806482b7 Signed-off-by: Scott Williams Signed-off-by: Dan Willemsen Rebase-Id: R5ba8fbba2771a2458fcf27d9d49c964ffbe53c88 --- arch/arm/mach-tegra/cpuidle-t3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/cpuidle-t3.c') diff --git a/arch/arm/mach-tegra/cpuidle-t3.c b/arch/arm/mach-tegra/cpuidle-t3.c index 7ea1657dff6b..5614994aa0ab 100644 --- a/arch/arm/mach-tegra/cpuidle-t3.c +++ b/arch/arm/mach-tegra/cpuidle-t3.c @@ -305,7 +305,7 @@ void tegra3_idle_lp2(struct cpuidle_device *dev, cpu_pm_enter(); - if (last_cpu) + if (last_cpu && (dev->cpu == 0)) tegra3_idle_enter_lp2_cpu_0(dev, state, request); else tegra3_idle_enter_lp2_cpu_n(dev, state, request); -- cgit v1.2.3