From patchwork Tue Mar 19 16:51:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 2302851 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2558C3FD8C for ; Tue, 19 Mar 2013 16:52:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933323Ab3CSQwT (ORCPT ); Tue, 19 Mar 2013 12:52:19 -0400 Received: from mail-vb0-f74.google.com ([209.85.212.74]:62209 "EHLO mail-vb0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933286Ab3CSQwR (ORCPT ); Tue, 19 Mar 2013 12:52:17 -0400 Received: by mail-vb0-f74.google.com with SMTP id r6so63319vbi.3 for ; Tue, 19 Mar 2013 09:52:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=MKvab2wh+0Ug5bvyPt2p9a1b+fvVD6w1MHZ3K9E77pI=; b=ISo1Kl+pbvFL7V6S3AYLVyq2y+/nvCE/xvGVJl6In2E5x9zO5AGVmQUOF6TXDWfdiC KcCDg1rB+lXBHGatNsmU4k1nEppfrGM4uB+GSPEIlFluFQ+yp9Ce6XiPgrowjKTVNOSo 678vw7m3zk698vaMnQBVSxhV8D7S3OkuiJe8Lk/pZF4Up1eWISDzWrGX7g/WZx0IwSj7 Ai3xPRELYeLvSizLt2/nKJLJPGYJbozqJhAFzu43dYNv9dWjMzxaDNtfL+X8U9fKf373 IIe2u7XBnwVHVwUhI/YJIRRi55Exj3fSbVpw9d4KBHLekRYHZ+Yhr2Js+k/Ogv5hozXO OI1A== X-Received: by 10.224.18.132 with SMTP id w4mr1586984qaa.1.1363711936585; Tue, 19 Mar 2013 09:52:16 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id t12si1217487qcz.3.2013.03.19.09.52.16 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Tue, 19 Mar 2013 09:52:16 -0700 (PDT) Received: from tictac.mtv.corp.google.com (dhcp-172-22-162-106.mtv.corp.google.com [172.22.162.106]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 47D2131C2E3; Tue, 19 Mar 2013 09:52:16 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id DEE32804B0; Tue, 19 Mar 2013 09:52:15 -0700 (PDT) From: Doug Anderson To: Kukjin Kim Cc: Jongpill Lee , Jaecheol Lee , Thomas Abraham , Olof Johansson , Jonathan Kliegman , Michael Spang , Doug Anderson , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm: exynos: Remove hardcode wakeup unmask for EINT_0 Date: Tue, 19 Mar 2013 09:51:39 -0700 Message-Id: <1363711900-25560-2-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363711900-25560-1-git-send-email-dianders@chromium.org> References: <1363711900-25560-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQme7l8C9+Sul3yJhcQQXYrN4CVkCA7sE74y0XVecf3st6zC7/+3sBsQqu25SYC8OBk3ytwNQ/uRMdOWw/RwT1MKYHt0OxP4bDwLrhHZGo0rSs+0e0bz5Rwy9uHNqWqTq8HxeGYD1sxEan0hwrxeWUCcrzus/8SRWsbnqeksbUo6rBN4Jd2C9SDoqofCLKWMpl2LrAnQ4AWbWaK9NmC45vEFpUqI7g== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Jonathan Kliegman For legacy reasons EINT_0 was being forced on for all exynos systems as a wake interrupt. For boards that need EINT_0 they should probably enable it with enable_irq_wake Signed-off-by: Jonathan Kliegman Signed-off-by: Doug Anderson Reviewed-by: Doug Anderson Reviewed-by: Thomas Abraham --- arch/arm/mach-exynos/include/mach/pm-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/include/mach/pm-core.h b/arch/arm/mach-exynos/include/mach/pm-core.h index a67ecfa..9d8da51e3 100644 --- a/arch/arm/mach-exynos/include/mach/pm-core.h +++ b/arch/arm/mach-exynos/include/mach/pm-core.h @@ -33,7 +33,7 @@ static inline void s3c_pm_arch_prepare_irqs(void) __raw_writel(tmp, S5P_WAKEUP_MASK); __raw_writel(s3c_irqwake_intmask, S5P_WAKEUP_MASK); - __raw_writel(s3c_irqwake_eintmask & 0xFFFFFFFE, S5P_EINT_WAKEUP_MASK); + __raw_writel(s3c_irqwake_eintmask, S5P_EINT_WAKEUP_MASK); } static inline void s3c_pm_arch_stop_clocks(void)