Explorar o código

ARM: EXYNOS: Remove scu_enable from cpuidle

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>
Abhilash Kesavan %!s(int64=13) %!d(string=hai) anos
pai
achega
a633208f2e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      arch/arm/mach-exynos/cpuidle.c

+ 2 - 1
arch/arm/mach-exynos/cpuidle.c

@@ -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();