Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759118Ab2EDQ7w (ORCPT ); Fri, 4 May 2012 12:59:52 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:38317 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134Ab2EDQ7v (ORCPT ); Fri, 4 May 2012 12:59:51 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 98.234.237.12 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18BE7qmN8HC8Ma91jujM6+0 Date: Fri, 4 May 2012 09:59:49 -0700 From: Tony Lindgren To: Janusz Krzysztofik Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3.4-rc4] ARM: OMAP1: Amstrad Delta: Fix wrong IRQ base in FIQ handler Message-ID: <20120504165948.GC5613@atomide.com> References: <1335806769-23711-1-git-send-email-jkrzyszt@tis.icnet.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1335806769-23711-1-git-send-email-jkrzyszt@tis.icnet.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2083 Lines: 58 * Janusz Krzysztofik [120430 10:30]: > Commit 384ebe1c2849160d040df3e68634ec506f13d9ff, "gpio/omap: Add DT > support to GPIO driver", introduced dynamic IRQ numbering of OMAP GPIO > interrupts, breaking all IH_GPIO_BASE based IRQ number calculations. > This issue was corrected in the OMAP GPIO driver and the related header > file with commit 25db711df3258d125dc1209800317e5c0ef3c870, "gpio/omap: > Fix IRQ handling for SPARSE_IRQ". > > However, the Amstrad Delta FIQ handler, which replaces the gpio-omap > driver in serving GPIO interrupts on this board, still uses that > outdated method. Fix it. Thanks applying into fixes. > Created and tested against linux-3.4-rc4. I've dropped this last line as that's pretty obvious from the commit alone. You can put extra comments like that could between some "---" lines: --- This is based on -rc4... --- So they get ignored when the patch gets applied. What is important, is what it was tested on, so saying "Tested on ams delta" would be more meaningful, although I guess that too is pretty obvious in this case :) Regards, Tony > Signed-off-by: Janusz Krzysztofik > --- > arch/arm/mach-omap1/ams-delta-fiq.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap1/ams-delta-fiq.c b/arch/arm/mach-omap1/ams-delta-fiq.c > index fcce7ff..cfd98b1 100644 > --- a/arch/arm/mach-omap1/ams-delta-fiq.c > +++ b/arch/arm/mach-omap1/ams-delta-fiq.c > @@ -48,7 +48,7 @@ static irqreturn_t deferred_fiq(int irq, void *dev_id) > struct irq_chip *irq_chip = NULL; > int gpio, irq_num, fiq_count; > > - irq_desc = irq_to_desc(IH_GPIO_BASE); > + irq_desc = irq_to_desc(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK)); > if (irq_desc) > irq_chip = irq_desc->irq_data.chip; > > -- > 1.7.3.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/