From patchwork Tue Feb 10 03:09:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5804711 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 7CCD6BF440 for ; Tue, 10 Feb 2015 03:11:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DB9A20109 for ; Tue, 10 Feb 2015 03:11:32 +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 3F3ED200E3 for ; Tue, 10 Feb 2015 03:11:31 +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 1YL1Ch-0006MR-RK; Tue, 10 Feb 2015 03:09:35 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YL1Cc-0006Fl-OD for linux-arm-kernel@lists.infradead.org; Tue, 10 Feb 2015 03:09:31 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJJ00BU9CR6W3D0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 10 Feb 2015 12:09:06 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.114]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 71.D8.18484.25679D45; Tue, 10 Feb 2015 12:09:06 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-3d-54d97652123e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id CF.C4.20081.25679D45; Tue, 10 Feb 2015 12:09:06 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJJ00HHSCR5IG40@mmp1.samsung.com>; Tue, 10 Feb 2015 12:09:06 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH] ARM: exynos: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC Date: Tue, 10 Feb 2015 12:09:05 +0900 Message-id: <1423537745-11994-1-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsWyRsSkSDeo7GaIwf6HghaT1h1gsrj+5Tmr xaT7E1gs+h+/ZrY42/SG3WLT42usFpd3zWGzmHF+H5MDh8ffVS+YPTat6mTz2Lyk3qNvyypG j8+b5AJYo7hsUlJzMstSi/TtErgyDtz8wVywmbtix+SIBsYNnF2MnBwSAiYSE+/eZYewxSQu 3FvP1sXIxSEksJRR4m3HU0aYoqXXFkIlFjFKrOq9zQ7hNDFJtMz9yQxSxSagJbH/xQ2gKg4O EQERidkXuEBqmAVOMUpsftvDAlIjLBAs8fH+ElYQm0VAVeLd5/tgNq+Aq8Tn9ocsENsUJJYt n8kKYbezS3zfzQJRLyDxbfIhFpD5EgKyEpsOMEOUSEocXHGDZQKj4AJGhlWMoqkFyQXFSelF xnrFibnFpXnpesn5uZsYgcF7+t+z/h2Mdw9YH2IU4GBU4uEtSLwZIsSaWFZcmXuI0RRow0Rm KdHkfGCM5JXEGxqbGVmYmpgaG5lbmimJ8y6U+hksJJCeWJKanZpakFoUX1Sak1p8iJ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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-20150209_190931_005323_1B3D45B0 X-CRM114-Status: GOOD ( 11.43 ) 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 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 */ }, };