Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752857AbbBJIFL (ORCPT ); Tue, 10 Feb 2015 03:05:11 -0500 Received: from mail-vc0-f180.google.com ([209.85.220.180]:33293 "EHLO mail-vc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752615AbbBJIFI (ORCPT ); Tue, 10 Feb 2015 03:05:08 -0500 MIME-Version: 1.0 In-Reply-To: <1423537745-11994-1-git-send-email-cw00.choi@samsung.com> References: <1423537745-11994-1-git-send-email-cw00.choi@samsung.com> Date: Tue, 10 Feb 2015 09:05:07 +0100 X-Google-Sender-Auth: PIBoUHDDOvJKYrlhwuAJyb8mxZI Message-ID: Subject: Re: [PATCH] ARM: exynos: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC From: Krzysztof Kozlowski To: Chanwoo Choi Cc: kgene@kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, inki.dae@samsung.com, kyungmin.park@samsung.com, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2324 Lines: 60 2015-02-10 4:09 GMT+01:00 Chanwoo Choi : > This patch fixes wrong hwirq of RTC irq for Exynos3250 SoC. When entering > suspend state, 'enable_irq_wake fail' happen because of the mismatch of RTC hwirq. > > [ 429.200937] Freezing user space processes ... (elapsed 0.002 seconds) done. > [ 429.203383] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done. > [ 429.209914] Suspending console(s) (use no_console_suspend to debug) > [ 429.370685] wake enabled for irq 65 > [ 429.370837] wake enabled for irq 64 > [ 429.370868] wake enabled for irq 79 > [snip] > [ 429.372120] s3c-rtc 10070000.rtc: enable_irq_wake failed > > Fixes: a4f582f5c5fe3 (ARM: EXYNOS: Add exynos3250 suspend-to-ram support) > Cc: Kukjin Kim > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > arch/arm/mach-exynos/suspend.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Yeah, I remember now Jonghwa's patches back in 2014 August and September :) https://lkml.org/lkml/2014/8/26/40 https://lkml.org/lkml/2014/9/26/92 Anyway now this looks good: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof > > diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c > index d6feef3..2b8bd67 100644 > --- a/arch/arm/mach-exynos/suspend.c > +++ b/arch/arm/mach-exynos/suspend.c > @@ -92,8 +92,8 @@ static unsigned int exynos_pmu_spare3; > static u32 exynos_irqwake_intmask = 0xffffffff; > > static const struct exynos_wkup_irq exynos3250_wkup_irq[] = { > - { 73, BIT(1) }, /* RTC alarm */ > - { 74, BIT(2) }, /* RTC tick */ > + { 105, BIT(1) }, /* RTC alarm */ > + { 106, BIT(2) }, /* RTC tick */ > { /* sentinel */ }, > }; > > -- > 1.8.5.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/