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
master
Felix Fietkau 2013-07-13 22:29:53 +00:00
parent 5791ea36fd
commit f78f7471c9
2 changed files with 30 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}