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

Commit b5a296cd authored by Chander Kashyap's avatar Chander Kashyap Committed by Kukjin Kim
Browse files

ARM: EXYNOS: do not allow cpuidle registration for exynos5420



Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver.
Hence do not allow exynos cpuidle driver registration for Exynos5420.

Signed-off-by: default avatarChander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 64a3c4ca
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -298,7 +298,9 @@ static void __init exynos_dt_machine_init(void)
	if (!IS_ENABLED(CONFIG_SMP))
	if (!IS_ENABLED(CONFIG_SMP))
		exynos_sysram_init();
		exynos_sysram_init();


	if (!of_machine_is_compatible("samsung,exynos5420"))
		exynos_cpuidle_init();
		exynos_cpuidle_init();

	exynos_cpufreq_init();
	exynos_cpufreq_init();


	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);