ar71xx: fix ar933x watchdog clock (#13866)
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.10 / 200-MIPS-ath79-fix-ar933x-watchdog-clock.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Subject: [PATCH] MIPS: ath79: fix ar933x watchdog clock
3
4 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
5 --- a/arch/mips/ath79/clock.c
6 +++ b/arch/mips/ath79/clock.c
7 @@ -164,7 +164,7 @@ static void __init ar933x_clocks_init(vo
8 ath79_ahb_clk.rate = freq / t;
9 }
10
11 - ath79_wdt_clk.rate = ath79_ref_clk.rate;
12 + ath79_wdt_clk.rate = ath79_ahb_clk.rate;
13 ath79_uart_clk.rate = ath79_ref_clk.rate;
14 }
15