diff mbox

ARM: EXYNOS4: Add support for rtc wakeup

Message ID 1356580840-22960-1-git-send-email-inderpal.singh@linaro.org
State Accepted
Headers show

Commit Message

Inderpal Singh Dec. 27, 2012, 4 a.m. UTC
Set the gic arch extension callback to support rtc wakeup.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
---
 arch/arm/mach-exynos/common.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Kukjin Kim Dec. 27, 2012, 6:40 p.m. UTC | #1
Inderpal Singh wrote:
> 
> Set the gic arch extension callback to support rtc wakeup.
> 
> Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
> ---
>  arch/arm/mach-exynos/common.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-
> exynos/common.c
> index 578a610..bf2ee1d 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -747,6 +747,8 @@ void __init exynos4_init_irq(void)
>  	 * uses GIC instead of VIC.
>  	 */
>  	s5p_init_irq(NULL, 0);
> +
> +	gic_arch_extn.irq_set_wake = s3c_irq_wake;
>  }
> 
>  void __init exynos5_init_irq(void)
> --
> 1.7.9.5

Applied, thanks

- Kukjin
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 578a610..bf2ee1d 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -747,6 +747,8 @@  void __init exynos4_init_irq(void)
 	 * uses GIC instead of VIC.
 	 */
 	s5p_init_irq(NULL, 0);
+
+	gic_arch_extn.irq_set_wake = s3c_irq_wake;
 }
 
 void __init exynos5_init_irq(void)