diff options
Diffstat (limited to 'meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch')
-rw-r--r-- | meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch b/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch new file mode 100644 index 0000000000..a86622bf1f --- /dev/null +++ b/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch @@ -0,0 +1,41 @@ +From a9551305279caac19d9f7ee121633fd18baa2fab Mon Sep 17 00:00:00 2001 +From: Vikram Pandita <vikram.pandita@ti.com> +Date: Mon, 22 Jun 2009 18:20:04 -0500 +Subject: [PATCH 5/8] OMAP2: Zoom2: Pass irqflags to 8250 driver + +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: +http://patchwork.kernel.org/patch/31884/ + +Warn: could cause compilation break if above patch is not integrated first + +Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> +--- + arch/arm/mach-omap2/board-zoom-debugboard.c | 2 ++ + 1 files changed, 2 insertions(+), 0 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, +-- +1.6.3.2 + |