ARM: tegra: hook tegra_tear_down_cpu function
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>
This commit is contained in:
parent
3f1be81eef
commit
b573ad9f19
|
@ -52,7 +52,9 @@ static void tegra_tear_down_cpu_init(void)
|
||||||
tegra_tear_down_cpu = tegra20_tear_down_cpu;
|
tegra_tear_down_cpu = tegra20_tear_down_cpu;
|
||||||
break;
|
break;
|
||||||
case TEGRA30:
|
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;
|
tegra_tear_down_cpu = tegra30_tear_down_cpu;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue