ARM: EXYNOS: Remove scu_enable from cpuidle
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 22 Nov 2012 05:46:34 +0000 (14:46 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 Nov 2012 22:42:07 +0000 (07:42 +0900)
Cortex A9 based exynos4 has a memory mapped SCU while the Cortex
A15 based exynos5 does not. Hence, remove the call to scu_enable
for exynos5.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Inderpal Singh <inderpal.singh@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/cpuidle.c

index cff0595d0d352c0d69cb9023b9b1cbf555fd16c4..8e4ec21ef2cf6ba3790b222e3e1ced6684ee2387 100644 (file)
@@ -116,7 +116,8 @@ static int exynos4_enter_core0_aftr(struct cpuidle_device *dev,
        cpu_suspend(0, idle_finisher);
 
 #ifdef CONFIG_SMP
-       scu_enable(S5P_VA_SCU);
+       if (!soc_is_exynos5250())
+               scu_enable(S5P_VA_SCU);
 #endif
        cpu_pm_exit();