aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-01 01:40:33 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 04:43:51 -0500
commit0c0daec7ca4f6a67daeafc4343bb453a4a246dbd (patch)
treee4cb672273011d3d8d5ea7ce4982b131633ddcae /arch/sh
parent6feb348783767e3f38d7612e6551ee8b580ac4e9 (diff)
sh: propagate r_clk
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>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/cpu/sh4a/clock-sh7722.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c
index 83b69196bc1a..0e174af21874 100644
--- 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)
838 clk_put(clk); 838 clk_put(clk);
839 } 839 }
840 840
841 clk_recalc_rate(&sh7722_r_clock); /* make sure rate gets propagated */
842
841 return 0; 843 return 0;
842} 844}