summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-11 19:50:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-11 19:50:16 +0000
commit9ae6129829a683f36dee5e7651714700e47f26bc (patch)
tree6557619d3df61be7902c59904fbc3bdf1c997e0a /target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch
parentd06c15c265e9d3b91763005a827c9bb722f9b425 (diff)
downloadmtk-20170518-9ae6129829a683f36dee5e7651714700e47f26bc.zip
mtk-20170518-9ae6129829a683f36dee5e7651714700e47f26bc.tar.gz
mtk-20170518-9ae6129829a683f36dee5e7651714700e47f26bc.tar.bz2
atheros: leave the gpio interrupts alone when user space changes the gpio input settings, fixes #4493
SVN-Revision: 18036
Diffstat (limited to 'target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch')
-rw-r--r--target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch b/target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch
index f5f0956..9b76dfe 100644
--- a/target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch
+++ b/target/linux/atheros/patches-2.6.30/105-ar2315_pci.patch
@@ -256,7 +256,7 @@
+ default y
--- a/arch/mips/ar231x/ar2315.c
+++ b/arch/mips/ar231x/ar2315.c
-@@ -59,6 +59,27 @@ static inline void ar2315_gpio_irq(void)
+@@ -63,6 +63,27 @@ static inline void ar2315_gpio_irq(void)
do_IRQ(AR531X_GPIO_IRQ_BASE + bit);
}
@@ -284,7 +284,7 @@
/*
* Called when an interrupt is received, this function
-@@ -77,6 +98,10 @@ ar2315_irq_dispatch(void)
+@@ -81,6 +102,10 @@ ar2315_irq_dispatch(void)
do_IRQ(AR2315_IRQ_WLAN0_INTRS);
else if (pending & CAUSEF_IP4)
do_IRQ(AR2315_IRQ_ENET0_INTRS);