ARM: tegra: hook tegra_tear_down_cpu function
authorJoseph Lo <josephl@nvidia.com>
Wed, 3 Jul 2013 09:50:42 +0000 (17:50 +0800)
committerStephen Warren <swarren@nvidia.com>
Fri, 19 Jul 2013 16:08:07 +0000 (10:08 -0600)
Hooking tegra_tear_down_cpu for Tegra114 for supporting cluster power
down when CPU cluster suspneded in LP2.

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

index 94e69be..19cf360 100644 (file)
@@ -52,7 +52,9 @@ static void tegra_tear_down_cpu_init(void)
                        tegra_tear_down_cpu = tegra20_tear_down_cpu;
                break;
        case TEGRA30:
-               if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC))
+       case TEGRA114:
+               if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) ||
+                   IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC))
                        tegra_tear_down_cpu = tegra30_tear_down_cpu;
                break;
        }