diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-02-22 07:24:26 +0100 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-03-11 21:29:22 +0100 |
commit | 2be8951e145eacf2a951288ea8e752e3b21acefd (patch) | |
tree | e0ae1e7746a915a871752d735796901b1e2534fa | |
parent | ARM: tegra: Fix unchecked return value (diff) | |
download | linux-2be8951e145eacf2a951288ea8e752e3b21acefd.tar.xz linux-2be8951e145eacf2a951288ea8e752e3b21acefd.zip |
ARM: tegra: fix the logical detection of power on sequence of warm boot CPUs
The warm boot sequence of Tegra30 secondary CPUs should wait for the
power ready then removing the clamps.
This did not fix any known or unknown issue, but nice to have this fix.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/platsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 4dfc75e118ff..e78d52d83acd 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -91,7 +91,7 @@ static int tegra30_power_up_cpu(unsigned int cpu) if (cpumask_test_cpu(cpu, &tegra_cpu_init_mask)) { timeout = jiffies + msecs_to_jiffies(50); do { - if (!tegra_powergate_is_powered(pwrgateid)) + if (tegra_powergate_is_powered(pwrgateid)) goto remove_clamps; udelay(10); } while (time_before(jiffies, timeout)); |