Skip to content

Commit

Permalink
sh: propagate r_clk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 22, 2008
1 parent 6feb348 commit 0c0daec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sh/kernel/cpu/sh4a/clock-sh7722.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 0c0daec

Please sign in to comment.