]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra11x: increase wait time for core power up
authorSang-Hun Lee <sanlee@nvidia.com>
Fri, 9 Nov 2012 01:12:11 +0000 (17:12 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:41:57 +0000 (12:41 -0700)
tegra11x is taking 2 seconds for core power up currently

Increase the wait time to avoid a failure

Bug 1169512

Change-Id: Ie5b2c35bc846ece47920f99be3b369b9ede73e0f
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/162527
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
arch/arm/mach-tegra/platsmp.c

index bc3558ba5026c5d7d0bbe6482faeaa642e2e0242..7ac69866c4c8f94e4e265de5f21d48e4f4747f33 100644 (file)
@@ -261,7 +261,7 @@ static int tegra11x_power_up_cpu(unsigned int cpu)
        ret = -ETIMEDOUT;
 
        /* Wait for the power to come up. */
-       timeout = jiffies + msecs_to_jiffies(100);
+       timeout = jiffies + msecs_to_jiffies(2000);
        do {
                if (is_cpu_powered(cpu) && is_clamp_removed(cpu)) {
                        cpumask_set_cpu(cpu, tegra_cpu_power_mask);