From patchwork Thu Sep 20 14:53:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 1486271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id CA529DF2D2 for ; Thu, 20 Sep 2012 14:56:13 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TEi91-0004gR-Bo; Thu, 20 Sep 2012 14:54:23 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TEi8Z-0004Tr-2i for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 14:54:00 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MAN00C4ALDIFCG0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 23:53:47 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-2a-505b2dfbdb3c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 43.89.03860.BFD2B505; Thu, 20 Sep 2012 23:53:47 +0900 (KST) Received: from amdc1227.localnet ([106.116.147.199]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MAN007OELDE2F10@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 23:53:47 +0900 (KST) From: Tomasz Figa To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/6] pinctrl: exynos: Fix wakeup IRQ domain registration check Date: Thu, 20 Sep 2012 16:53:33 +0200 Message-id: <2737662.uE6StcAj33@amdc1227> Organization: Samsung Poland R&D Center User-Agent: KMail/4.9.1 (Linux/3.5.3-gentoo; KDE/4.9.1; x86_64; ; ) In-reply-to: <1348131104-24828-1-git-send-email-t.figa@samsung.com> References: <1348131104-24828-1-git-send-email-t.figa@samsung.com> MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKLMWRmVeSWpSXmKPExsVy+t9jAd3futEBBt+3iVhsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6MpQ8PshQsYqvofDuJuYFxPmsXIyeHhICJxPENX5ghbDGJC/fW s3UxcnEICSxilLix+jgLSEJIYC2TROMOdhCbTUBN4nPDIzYQW0RAQ2JK12N2kAZmgVWMEjte TwMrEhbwkzg6uwFoKgcHi4CqxJ8bZiBhXgFNiS8X/4Et5hdQl3i37SkTiC0q4CxxpXERI4jN CWSfetDJDLHXSWLu5dVsEL2CEj8m3wO7h1lAXmLf/qmsELaWxPqdx5kmMArOQlI2C0nZLCRl CxiZVzGKphYkFxQnpeca6RUn5haX5qXrJefnbmIEB+Yz6R2MqxosDjEKcDAq8fDeEo4KEGJN LCuuzD3EKMHBrCTC+4grOkCINyWxsiq1KD++qDQntfgQozQHi5I4r/CnwAAhgfTEktTs1NSC 1CKYLBMHp1QDo35Pnc49066ghFyf1aXfU+zPXW/5NUnP8sMi/rspD06wp/6t3Kv6zT07Ifq3 AVee8nHVA98aQ2WUOlqnhoWnXz689uSrR9flA34mWwbcUBUxl3y2763h77BsG70UNoF/E5Yq v9+8tGtp7WS5pEl7rhkIn1qe9L5mkr9K3hHuGhX+/EjzY5L9SizFGYmGWsxFxYkAu+FG4EgC AAA= X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.4 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, linus.walleij@linaro.org, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Because of a typo, incorrect field of a structure was being checked. This patch fixes the check to use correct field. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- drivers/pinctrl/pinctrl-exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl/pinctrl-exynos.c index 0d01d19..21362f4 100644 --- a/drivers/pinctrl/pinctrl-exynos.c +++ b/drivers/pinctrl/pinctrl-exynos.c @@ -447,7 +447,7 @@ static int exynos_eint_wkup_init(struct samsung_pinctrl_drv_data *d) d->wkup_irqd = irq_domain_add_linear(wkup_np, d->ctrl->nr_wint, &exynos_wkup_irqd_ops, d); - if (!d->gpio_irqd) { + if (!d->wkup_irqd) { dev_err(dev, "wakeup irq domain allocation failed\n"); return -ENXIO; }