diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2009-08-28 14:24:08 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-08-28 14:24:08 -0400 |
commit | c426df87d8197cde077d03c808f52e3a17045b09 (patch) | |
tree | 89a398f73f9d78eab55b7eb9864912aee38629a4 /arch/arm/mach-omap2/serial.c | |
parent | 14e0e6796a0d460ac6f7727616161dc317bbbf3a (diff) |
OMAP2/3: Pass irqflags to 8250 driver
Pass irqflags to 8250 driver with platform_data. At least Zoom2 has
IRQF_TRIGGER_RISING requirement for the 8250 GPIO irq.
This patch is dependent on 8250 driver changes getting accepted upstream:
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=7053133124d5cdf207c1168c7a0c582a18e12ea7
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 409b03309af4..dd3c735b5588 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -460,7 +460,7 @@ static void omap_uart_idle_init(struct omap_uart_state *uart) | |||
460 | uart->padconf = 0; | 460 | uart->padconf = 0; |
461 | } | 461 | } |
462 | 462 | ||
463 | p->flags |= UPF_SHARE_IRQ; | 463 | p->irqflags |= IRQF_SHARED; |
464 | ret = request_irq(p->irq, omap_uart_interrupt, IRQF_SHARED, | 464 | ret = request_irq(p->irq, omap_uart_interrupt, IRQF_SHARED, |
465 | "serial idle", (void *)uart); | 465 | "serial idle", (void *)uart); |
466 | WARN_ON(ret); | 466 | WARN_ON(ret); |