Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b573ad9f authored by Joseph Lo's avatar Joseph Lo Committed by Stephen Warren
Browse files

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: default avatarJoseph Lo <josephl@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 3f1be81e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
	}