summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-13 22:29:53 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-13 22:29:53 +0000
commitee097f8edbdb1fe7e242ca12c4504423b7ec8a57 (patch)
treed9c61e7486506061ddc3912e991a8cb0fa0a80c3 /target/linux/ar71xx
parentfa1d2f0b7c685f2bc5fbb6ed2edb09a4564454da (diff)
ar71xx: fix ar933x watchdog clock (#13866)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37273 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/patches-3.10/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch15
-rw-r--r--target/linux/ar71xx/patches-3.8/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch15
2 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.10/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch b/target/linux/ar71xx/patches-3.10/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch
new file mode 100644
index 0000000000..b3a3cd39f4
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.10/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch
@@ -0,0 +1,15 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Subject: [PATCH] MIPS: ath79: fix ar933x watchdog clock
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+--- a/arch/mips/ath79/clock.c
++++ b/arch/mips/ath79/clock.c
+@@ -164,7 +164,7 @@ static void __init ar933x_clocks_init(vo
+ ath79_ahb_clk.rate = freq / t;
+ }
+
+- ath79_wdt_clk.rate = ath79_ref_clk.rate;
++ ath79_wdt_clk.rate = ath79_ahb_clk.rate;
+ ath79_uart_clk.rate = ath79_ref_clk.rate;
+ }
+
diff --git a/target/linux/ar71xx/patches-3.8/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch b/target/linux/ar71xx/patches-3.8/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch
new file mode 100644
index 0000000000..b3a3cd39f4
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.8/200-MIPS-ath79-fix-ar933x-watchdog-clock.patch
@@ -0,0 +1,15 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Subject: [PATCH] MIPS: ath79: fix ar933x watchdog clock
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+--- a/arch/mips/ath79/clock.c
++++ b/arch/mips/ath79/clock.c
+@@ -164,7 +164,7 @@ static void __init ar933x_clocks_init(vo
+ ath79_ahb_clk.rate = freq / t;
+ }
+
+- ath79_wdt_clk.rate = ath79_ref_clk.rate;
++ ath79_wdt_clk.rate = ath79_ahb_clk.rate;
+ ath79_uart_clk.rate = ath79_ref_clk.rate;
+ }
+