summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/100-board.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:10 +0000
commit5ea0cff89c553b008fa20d6af1ea1cb6972ab2d5 (patch)
tree0e9450a18cd21af9641ef734a73ccb45c9e18d37 /target/linux/atheros/patches-3.10/100-board.patch
parentd0f9972f1c9d10bd9abc52a724e5f64182e1816c (diff)
downloadmtk-20170518-5ea0cff89c553b008fa20d6af1ea1cb6972ab2d5.zip
mtk-20170518-5ea0cff89c553b008fa20d6af1ea1cb6972ab2d5.tar.gz
mtk-20170518-5ea0cff89c553b008fa20d6af1ea1cb6972ab2d5.tar.bz2
atheros[ar2315-wdt]: update interrupt handling
Acknowledge watchdog interrupt in arch irq dispatcher and remove odd watchdog enable call from probe function. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41687
Diffstat (limited to 'target/linux/atheros/patches-3.10/100-board.patch')
-rw-r--r--target/linux/atheros/patches-3.10/100-board.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch
index 02ab943..3169827 100644
--- a/target/linux/atheros/patches-3.10/100-board.patch
+++ b/target/linux/atheros/patches-3.10/100-board.patch
@@ -2134,7 +2134,7 @@
+
--- /dev/null
+++ b/arch/mips/ar231x/ar2315.c
-@@ -0,0 +1,623 @@
+@@ -0,0 +1,624 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -2234,9 +2234,10 @@
+ ar2315_gpio_irq();
+ else if (misc_intr & AR2315_ISR_UART0)
+ do_IRQ(AR531X_MISC_IRQ_UART0);
-+ else if (misc_intr & AR2315_ISR_WD)
++ else if (misc_intr & AR2315_ISR_WD) {
++ ar231x_write_reg(AR2315_ISR, AR2315_ISR_WD);
+ do_IRQ(AR531X_MISC_IRQ_WATCHDOG);
-+ else
++ } else
+ do_IRQ(AR531X_MISC_IRQ_NONE);
+ } else if (pending & CAUSEF_IP7)
+ do_IRQ(AR531X_IRQ_CPU_CLOCK);