projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6feb348
)
sh: propagate r_clk
author
Magnus Damm
<damm@igel.co.jp>
Mon, 1 Dec 2008 06:40:33 +0000
(15:40 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:51 +0000
(18:43 +0900)
Make sure the 32 KHz r_clk rate gets propagated correctly. Without
this fix the clocks for RTC, CMT, KEYSC and RWDT are stuck at 0 Hz.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/clock-sh7722.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c
b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c
index 83b69196bc1ac6cf2e8e40126f4a1f58a61b2c6f..0e174af21874123497614da2e36f0eb0a7e66cfa 100644
(file)
--- a/
arch/sh/kernel/cpu/sh4a/clock-sh7722.c
+++ b/
arch/sh/kernel/cpu/sh4a/clock-sh7722.c
@@
-838,5
+838,7
@@
int __init arch_clk_init(void)
clk_put(clk);
}
+ clk_recalc_rate(&sh7722_r_clock); /* make sure rate gets propagated */
+
return 0;
}