From patchwork Sun Dec 15 04:28:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 3349951 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D6A7DC0D4A for ; Sun, 15 Dec 2013 04:31:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F261E20696 for ; Sun, 15 Dec 2013 04:31:56 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 0E82320690 for ; Sun, 15 Dec 2013 04:31:56 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vs3LJ-0005X9-CF; Sun, 15 Dec 2013 04:30:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vs3Kx-0001kJ-SA; Sun, 15 Dec 2013 04:29:51 +0000 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vs3K6-0001eM-2m for linux-arm-kernel@lists.infradead.org; Sun, 15 Dec 2013 04:28:59 +0000 Received: by mail-ea0-f179.google.com with SMTP id r15so1574944ead.24 for ; Sat, 14 Dec 2013 20:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RL2iZ0OGEVRczPHfRt4A3siqm/TuAnCxSBW9qL3sgAs=; b=ya1WHByIbwI9PotNR9plh8S93VpRx8Y1/7FVtCJ4RzxrHVMdMgmNgVSD8YD6R0ZPw3 DSIEq/R546n0IdnvmITXufj/JtZXWpVFB4EYfnbPSlgiXJQw8Ouu5bPOOAPrrheaRLTe mPn+tbF5v0K2xk55CtaKIxVeDZh2uio9tOZhzsK013+oeceLomVpcOon1/OznLFFnol2 5uXZ3VKyoJS0MpAWBxs2YejoUuhnHWzqOiyE8puogDWvCfT11rtGbDrWwXQgsg2dgGeF s8Qc/TgfEZxiEkGeBsTxBci3jSQQ098VhE9tA76Mulm+ijKI37n+h1eOmkm0MRjXXAbD Oiiw== X-Received: by 10.14.4.67 with SMTP id 43mr10108915eei.70.1387081721062; Sat, 14 Dec 2013 20:28:41 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id n1sm25702696eep.20.2013.12.14.20.28.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Dec 2013 20:28:40 -0800 (PST) From: Dmitry Eremin-Solenikov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 08/10] arm: sa1100: merge IRQ 11 to "normal" irq domain Date: Sun, 15 Dec 2013 08:28:15 +0400 Message-Id: <1387081697-21841-9-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1387081697-21841-1-git-send-email-dbaryshkov@gmail.com> References: <1387081697-21841-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131214_232858_296323_F4F716BB X-CRM114-Status: GOOD ( 10.24 ) X-Spam-Score: -2.0 (--) Cc: Linus Walleij , Russell King , Dmitry Artamonow X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 IRQ 11 is a shared IRQ receiving IRQs from "high" GPIOs. It is still handled by sa1100_normal_chip, so there is no point to exclude it from "normal" irq domain. The IRQF_VALID flag set by domain map function will be cleared by irq_set_chained_handler() internally. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/irq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index bb3bdad..5c72062 100644 --- a/arch/arm/mach-sa1100/irq.c +++ b/arch/arm/mach-sa1100/irq.c @@ -434,7 +434,7 @@ void __init sa1100_init_irq(void) &sa1100_low_gpio_irqdomain_ops, NULL); sa1100_normal_irqdomain = irq_domain_add_legacy(NULL, - 20, 12, 12, + 21, 11, 11, &sa1100_normal_irqdomain_ops, NULL); sa1100_high_gpio_irqdomain = irq_domain_add_legacy(NULL, @@ -444,7 +444,6 @@ void __init sa1100_init_irq(void) /* * Install handler for GPIO 11-27 edge detect interrupts */ - irq_set_chip(IRQ_GPIO11_27, &sa1100_normal_chip); irq_set_chained_handler(IRQ_GPIO11_27, sa1100_high_gpio_handler); set_handle_irq(sa1100_handle_irq);