aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include')
-rw-r--r--arch/arm/mach-exynos/include/mach/pm-core.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-exynos/include/mach/pm-core.h b/arch/arm/mach-exynos/include/mach/pm-core.h
index a67ecfaf1216..7dbbfec13ea5 100644
--- a/arch/arm/mach-exynos/include/mach/pm-core.h
+++ b/arch/arm/mach-exynos/include/mach/pm-core.h
@@ -27,13 +27,8 @@ static inline void s3c_pm_debug_init_uart(void)
27 27
28static inline void s3c_pm_arch_prepare_irqs(void) 28static inline void s3c_pm_arch_prepare_irqs(void)
29{ 29{
30 unsigned int tmp; 30 __raw_writel(s3c_irqwake_eintmask, S5P_EINT_WAKEUP_MASK);
31 tmp = __raw_readl(S5P_WAKEUP_MASK); 31 __raw_writel(s3c_irqwake_intmask & ~(1 << 31), S5P_WAKEUP_MASK);
32 tmp &= ~(1 << 31);
33 __raw_writel(tmp, S5P_WAKEUP_MASK);
34
35 __raw_writel(s3c_irqwake_intmask, S5P_WAKEUP_MASK);
36 __raw_writel(s3c_irqwake_eintmask & 0xFFFFFFFE, S5P_EINT_WAKEUP_MASK);
37} 32}
38 33
39static inline void s3c_pm_arch_stop_clocks(void) 34static inline void s3c_pm_arch_stop_clocks(void)