aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-21 17:16:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-21 17:16:40 +0000
commit96b5d437d6c4fcaf39ef745d262fb176f1471fce (patch)
tree7253c59f3390ecc83cf13e6be9f0daaebc0c885f /target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch
parent76448ed5cf945b6b46de68693fa277ce27fc3eb8 (diff)
downloadupstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.gz
upstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.bz2
upstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.zip
omap24xx: remove 2.6.38 support
SVN-Revision: 31426
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch b/target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch
deleted file mode 100644
index 829de435cb..0000000000
--- a/target/linux/omap24xx/patches-2.6.38/420-hci-h4p-interrupt-workaround.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
-+++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c
-@@ -362,7 +362,7 @@ static struct omap_hwmod_class uart_clas
- /* UART1 */
-
- static struct omap_hwmod_irq_info uart1_mpu_irqs[] = {
-- { .irq = INT_24XX_UART1_IRQ, },
-+ { .irq = 0, },
- };
-
- static struct omap_hwmod_dma_info uart1_sdma_reqs[] = {
---- 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);
- }
- }
- }