mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
ar71xx: fix ar933x watchdog clock (#13866)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37273
This commit is contained in:
parent
e041d370a7
commit
9b9c6facfc
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user