diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-27 15:01:07 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-27 15:01:07 +0000 |
commit | e17d6b07094e4c7d1ebbd92ee4e32deac4c9dc29 (patch) | |
tree | 00b2f220c777b873989bec0ae6fc256ee48bb6e4 /target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch | |
parent | 4ea55a169b9832455bbd9ec3c99530640e130c73 (diff) |
omap24xx: remove 3.1 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch')
-rw-r--r-- | target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch b/target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch deleted file mode 100644 index 4e7c44018..000000000 --- a/target/linux/omap24xx/patches-3.1/420-hci-h4p-interrupt-workaround.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/arch/arm/mach-omap2/serial.c -+++ b/arch/arm/mach-omap2/serial.c -@@ -546,10 +546,12 @@ static void omap_uart_idle_init(struct o - uart->padconf = 0; - } - -- uart->irqflags |= IRQF_SHARED; -- ret = request_threaded_irq(uart->irq, NULL, omap_uart_interrupt, -- IRQF_SHARED, "serial idle", (void *)uart); -- WARN_ON(ret); -+ if (uart->irq) { -+ uart->irqflags |= IRQF_SHARED; -+ ret = request_threaded_irq(uart->irq, NULL, omap_uart_interrupt, -+ IRQF_SHARED, "serial idle", (void *)uart); -+ WARN_ON(ret); -+ } - } - - void omap_uart_enable_irqs(int enable) -@@ -560,14 +562,17 @@ void omap_uart_enable_irqs(int enable) - list_for_each_entry(uart, &uart_list, node) { - if (enable) { - pm_runtime_put_sync(&uart->pdev->dev); -- ret = request_threaded_irq(uart->irq, NULL, -- omap_uart_interrupt, -- IRQF_SHARED, -- "serial idle", -- (void *)uart); -+ if (uart->irq) { -+ ret = request_threaded_irq(uart->irq, NULL, -+ omap_uart_interrupt, -+ IRQF_SHARED, -+ "serial idle", -+ (void *)uart); -+ } - } else { - pm_runtime_get_noresume(&uart->pdev->dev); -- free_irq(uart->irq, (void *)uart); -+ if (uart->irq) -+ free_irq(uart->irq, (void *)uart); - } - } - } ---- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c -+++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c -@@ -253,7 +253,7 @@ struct omap_hwmod_irq_info omap2_timer11 - }; - - struct omap_hwmod_irq_info omap2_uart1_mpu_irqs[] = { -- { .irq = INT_24XX_UART1_IRQ, }, -+ { .irq = 0, }, - { .irq = -1 } - }; - |