]> git.openfabrics.org - ~emulex/infiniband.git/commit
sh: clkfwk: Provide a generic clk_set_rate_ex() path for root clocks.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 May 2009 08:05:51 +0000 (17:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 May 2009 08:05:51 +0000 (17:05 +0900)
commit100890c55e326a9acb4429593c5ad2012c194564
tree12a8d13ca28d03a493ee46026510caaa78a19cc2
parentd672fef02738582bdeae6e77176e141eeb9169bc
sh: clkfwk: Provide a generic clk_set_rate_ex() path for root clocks.

In the case of root clocks (such as clkin oscillators, extal, etc.), the
rate information is entirely platform dependent and needs to be lazily
set and propagated from the platform code. This provides a method for
establishing the rate update on these types of clocks that define no
set_rate() op of their own.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c