ARM: tegra: hook tegra_tear_down_cpu function in the PM suspend init function
authorJoseph Lo <josephl@nvidia.com>
Tue, 4 Jun 2013 10:47:33 +0000 (18:47 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 5 Jun 2013 17:44:54 +0000 (11:44 -0600)
commitbf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc
tree4d884d56774156f70140aff427178ca637739e23
parente22dc2b25655706751789a8d035b57bf04299cbd
ARM: tegra: hook tegra_tear_down_cpu function in the PM suspend init function

The tegra_tear_down_cpu was used to cut off the CPU rail for various Tegra
SoCs. Hooking it in the PM suspend init function and making the CPUidle
driver more generic.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/cpuidle-tegra20.c
arch/arm/mach-tegra/cpuidle-tegra30.c
arch/arm/mach-tegra/pm.c