|
@@ -91,7 +91,7 @@ static int tegra30_power_up_cpu(unsigned int cpu)
|
|
|
if (cpumask_test_cpu(cpu, &tegra_cpu_init_mask)) {
|
|
if (cpumask_test_cpu(cpu, &tegra_cpu_init_mask)) {
|
|
|
timeout = jiffies + msecs_to_jiffies(50);
|
|
timeout = jiffies + msecs_to_jiffies(50);
|
|
|
do {
|
|
do {
|
|
|
- if (!tegra_powergate_is_powered(pwrgateid))
|
|
|
|
|
|
|
+ if (tegra_powergate_is_powered(pwrgateid))
|
|
|
goto remove_clamps;
|
|
goto remove_clamps;
|
|
|
udelay(10);
|
|
udelay(10);
|
|
|
} while (time_before(jiffies, timeout));
|
|
} while (time_before(jiffies, timeout));
|