]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: EXYNOS: do not allow cpuidle registration for exynos5420
authorChander Kashyap <chander.kashyap@linaro.org>
Fri, 4 Jul 2014 21:24:35 +0000 (06:24 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 18 Jul 2014 18:35:58 +0000 (03:35 +0900)
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: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/exynos.c

index 46d893fcbe8538ecccea346715487a66d3cc1e01..c7d960aa95a8fdf679ced2a74465fa91967660d1 100644 (file)
@@ -298,7 +298,9 @@ static void __init exynos_dt_machine_init(void)
        if (!IS_ENABLED(CONFIG_SMP))
                exynos_sysram_init();
 
-       exynos_cpuidle_init();
+       if (!of_machine_is_compatible("samsung,exynos5420"))
+               exynos_cpuidle_init();
+
        exynos_cpufreq_init();
 
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);