From patchwork Tue Feb 24 02:43:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5869211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA2C0BF440 for ; Tue, 24 Feb 2015 02:45:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED2B32063C for ; Tue, 24 Feb 2015 02:45:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A7C1D2062A for ; Tue, 24 Feb 2015 02:45:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ5TT-0001lX-DH; Tue, 24 Feb 2015 02:43:51 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ5TO-0001ci-UN for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 02:43:47 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NK900KX68WDMDC0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 11:43:25 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.115]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id FE.E1.11124.D45EBE45; Tue, 24 Feb 2015 11:43:25 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-5b-54ebe54d4e01 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 05.B0.20081.C45EBE45; Tue, 24 Feb 2015 11:43:25 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NK90065I8WCEJ60@mmp2.samsung.com>; Tue, 24 Feb 2015 11:43:24 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [RESEND PATCH] ARM: exynos: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC Date: Tue, 24 Feb 2015 11:43:18 +0900 Message-id: <1424745798-14196-1-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsWyRsSkWNf36esQg+vXOCwmrTvAZHH9y3NW i0n3J7BY9D9+zWxxtukNu8Wmx9dYLS7vmsNmMeP8PiYHDo+/q14we2xa1cnmsXlJvUffllWM Hp83yQWwRnHZpKTmZJalFunbJXBlfHxwlb3gPXfF7SfvWBsYn3N2MXJwSAiYSMyYbd7FyAlk iklcuLeerYuRi0NIYCmjxPRZzxhhaubM9oCIT2eUOHd1FguE08QkcXvGJHaQbjYBLYn9L26w gTSICIhIzL7ABVLDLHCKUWLz2x4WkBphgSiJAx//sYHYLAKqEqsvrmAFqecVcJVYsckR4ggF iWXLZ7KC9EoIdLNLbNs2jR2iXkDi2+RDLBAHyUpsOsAMUS8pcXDFDZYJjIILGBlWMYqmFiQX FCelFxnpFSfmFpfmpesl5+duYgSG7ul/z/p2MN48YH2IUYCDUYmHtyH3VYgQa2JZcWXuIUZT oA0TmaVEk/OBEZJXEm9obGZkYWpiamxkbmmmJM6bIPUzWEggPbEkNTs1tSC1KL6oNCe1+BAj EwenVAPjJgnTdVFdm+dPVVzErWXMmRjR+zf3qvK8wydLnCw23pt0OH++W8jG0ots21XVhLXy C2T2L+14v2QB3ybnb9P+PF4m0/rplP+Bwz89S059+flUaq3a45VbbV2LjJ8uykrvW8x5eVfs b90M6Z0sGvP+8Ta/PBnOs8moyHxjpuYj9rCznE+/Mze2K7EUZyQaajEXFScCAOAkUbpYAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42I5/e+xoK7v09chBqe9LSatO8Bkcf3Lc1aL SfcnsFj0P37NbHG26Q27xabH11gtLu+aw2Yx4/w+JgcOj7+rXjB7bFrVyeaxeUm9R9+WVYwe nzfJBbBGNTDaZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXmptoqufgE6Lpl 5gCdoqRQlphTChQKSCwuVtK3wzQhNMRN1wKmMULXNyQIrsfIAA0krGHM+PjgKnvBe+6K20/e sTYwPufsYuTgkBAwkZgz26OLkRPIFJO4cG89WxcjF4eQwHRGiXNXZ7FAOE1MErdnTGIHqWIT 0JLY/+IGG0iziICIxOwLXCA1zAKnGCU2v+1hAakRFoiSOPDxHxuIzSKgKrH64gpWkHpeAVeJ FZscIZYpSCxbPpN1AiP3AkaGVYyiqQXJBcVJ6bmGesWJucWleel6yfm5mxjBkfFMagfjygaL Q4wCHIxKPLwNua9ChFgTy4orcw8xSnAwK4nwzj74OkSINyWxsiq1KD++qDQntfgQoynQ8onM UqLJ+cCozSuJNzQ2MTOyNDI3tDAyNlcS51WybwsREkhPLEnNTk0tSC2C6WPi4JQCxtg7862X 730T17L8oyVxn9W5RpRXolPnsFvHegm1svwJDv3f3cQnOegs/FykOePf7NLn87yeON5a5HKz VMjDaaLmND/xDkW26/GXv5799Cre9WGu/eeau/GHlum8Ebe4y3Ph/JwVL19czPP78OHpwcU1 Es84wwzvvp3yR/D2j9XP85rmP3d/mafEUpyRaKjFXFScCAAMkQ/HogIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150223_184347_204974_3019140B X-CRM114-Status: GOOD ( 11.33 ) X-Spam-Score: -5.0 (-----) Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, inki.dae@samsung.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/suspend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index 52e2b1a..318d127 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -87,8 +87,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 */ }, };