sh: clkfwk: Improve the generic clk_set_parent() implementation.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 20:51:05 +0000 (05:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 20:51:05 +0000 (05:51 +0900)
This causes the generic clk_set_parent() implementation to be a bit more
intelligent. A clk_reparent() is added to move the clock over to the new
parent's sibling list, which then allows the generic rate propagation
code to succeed. This also becomes a nop if the new and old parents are
unchanged.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found