ARM: tegra: don't timeout if CPU is powergated
authorStefan Agner <stefan@agner.ch>
Tue, 11 Feb 2014 00:44:13 +0000 (01:44 +0100)
committerStephen Warren <swarren@nvidia.com>
Wed, 12 Feb 2014 19:10:58 +0000 (12:10 -0700)
commit5f809932419375af8203561a39c70ed1a994c877
tree5985a05e8fbe3dfd83b49af8f5cc3ccabdc8758b
parent38dbfb59d1175ef458d006556061adeaa8751b72
ARM: tegra: don't timeout if CPU is powergated

When booting secondary CPU(s) which are not yet powergated, a wrong
check lead to a timeout after 100 jiffies. With this patch, we only
delay powergating if CPUs are still not powered yet.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/platsmp.c