浏览代码

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>
Magnus Damm 16 年之前
父节点
当前提交
0c0daec7ca
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/sh/kernel/cpu/sh4a/clock-sh7722.c

+ 2 - 0
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;
 }