From: Tony Lindgren <tony@atomide.com>
To: Vikram Pandita <vikram.pandita@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v2] OMAP2: Zoom2: Pass irqflags to 8250 driver
Date: Mon, 10 Aug 2009 19:39:00 +0300 [thread overview]
Message-ID: <20090810163859.GI1938@atomide.com> (raw)
In-Reply-To: <1245713126-18312-1-git-send-email-vikram.pandita@ti.com>
* Vikram Pandita <vikram.pandita@ti.com> [090623 02:29]:
> Pass irqflags to 8250 driver from zoom2 board file
> Zoom2 has IRQF_TRIGGER_RISING requirement for the 8250 GPIO irq
>
> This patch is dependent on 8250 driver changes getting accepted upstream:
> Refer: http://patchwork.kernel.org/patch/31884/
FYI, I'll archive this for now, please resubmit once the related changes
are integrated. Or if resubmitting the related changes, please submit this
too via the serial list.
Acked-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
> ---
>
> Warning:
> could cause compilation break if 8250 patch is not integrated first
>
> arch/arm/mach-omap2/board-zoom-debugboard.c | 2 ++
> arch/arm/mach-omap2/serial.c | 2 +-
> 2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c
> index bac5c43..f546063 100644
> --- a/arch/arm/mach-omap2/board-zoom-debugboard.c
> +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c
> @@ -12,6 +12,7 @@
> #include <linux/gpio.h>
> #include <linux/serial_8250.h>
> #include <linux/smsc911x.h>
> +#include <linux/interrupt.h>
>
> #include <mach/gpmc.h>
>
> @@ -84,6 +85,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
> .mapbase = 0x10000000,
> .irq = OMAP_GPIO_IRQ(102),
> .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ,
> + .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING,
> .iotype = UPIO_MEM,
> .regshift = 1,
> .uartclk = QUART_CLK,
> diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
> index b094c15..45d4884 100644
> --- a/arch/arm/mach-omap2/serial.c
> +++ b/arch/arm/mach-omap2/serial.c
> @@ -429,7 +429,7 @@ static void omap_uart_idle_init(struct omap_uart_state *uart)
> omap_ctrl_writew(v, uart->padconf);
> }
>
> - p->flags |= UPF_SHARE_IRQ;
> + p->irqflags |= IRQF_SHARED;
> ret = request_irq(p->irq, omap_uart_interrupt, IRQF_SHARED,
> "serial idle", (void *)uart);
> WARN_ON(ret);
> --
> 1.6.0.3.613.g9f8f13
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-08-10 16:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 23:25 [PATCH v2] OMAP2: Zoom2: Pass irqflags to 8250 driver Vikram Pandita
2009-08-10 16:39 ` Tony Lindgren [this message]
2009-08-10 16:44 ` Pandita, Vikram
2009-08-11 6:44 ` Tony Lindgren
2009-08-12 19:31 ` Pandita, Vikram
2009-08-11 12:57 ` [APPLIED] " Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090810163859.GI1938@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=vikram.pandita@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.