sh: clkfwk: setup clock parent from current register value
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Nov 2011 05:33:18 +0000 (21:33 -0800)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Nov 2011 08:15:23 +0000 (17:15 +0900)
Some clocks can select its parent clock by CPG register.
But it might have been modified by boot-loader or something.
This patch removed fixed initial parent clock,
and setup it from their current register settings.
It works on div6 reparent clocks for now.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found