diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2014-04-11 13:52:09 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-04-15 06:39:19 -0700 |
commit | b06092716c445d40e7e50a9f9de45442a223d50c (patch) | |
tree | ac4fa1ea32dc5a40bfd6ec644457e21726a9f13c | |
parent | d3e9d8f604f036d32d1511430f14705fb5cdef30 (diff) | |
download | linux-3.10-b06092716c445d40e7e50a9f9de45442a223d50c.tar.gz linux-3.10-b06092716c445d40e7e50a9f9de45442a223d50c.tar.bz2 linux-3.10-b06092716c445d40e7e50a9f9de45442a223d50c.zip |
cpuidle:AFTR: Enable STANDBY_WFI0 and STANDBY_WFE0 for cpu0 in AFTR mode
Enabling of CORE0 idle state is based on the state of STANDBYWFI/STANDBYWFE
internal signal.
Change-Id: I43675fa312ce879f3741644057991bdb33f6cd55
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
-rw-r--r-- | arch/arm/mach-exynos/cpuidle.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 11c3db7b165..ca26770683f 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -107,6 +107,10 @@ static int exynos4_enter_core0_aftr(struct cpuidle_device *dev, { unsigned long tmp; + if (soc_is_exynos4412()) + __raw_writel(S5P_USE_STANDBY_WFI0 | S5P_USE_STANDBY_WFE0, + S5P_CENTRAL_SEQ_OPTION); + exynos4_set_wakeupmask(); /* Set value of power down register for aftr mode */ |