diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-06-04 18:47:33 +0800 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-06-05 11:44:54 -0600 |
commit | bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc (patch) | |
tree | 4d884d56774156f70140aff427178ca637739e23 /arch/arm/mach-tegra/cpuidle-tegra20.c | |
parent | e22dc2b25655706751789a8d035b57bf04299cbd (diff) | |
download | talos-obmc-linux-bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc.tar.gz talos-obmc-linux-bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc.zip |
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>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle-tegra20.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c index 0cdba8de8c77..d6675130ee62 100644 --- a/arch/arm/mach-tegra/cpuidle-tegra20.c +++ b/arch/arm/mach-tegra/cpuidle-tegra20.c @@ -214,8 +214,5 @@ static int tegra20_idle_lp2_coupled(struct cpuidle_device *dev, int __init tegra20_cpuidle_init(void) { -#ifdef CONFIG_PM_SLEEP - tegra_tear_down_cpu = tegra20_tear_down_cpu; -#endif return cpuidle_register(&tegra_idle_driver, cpu_possible_mask); } |