[PATCH v7 2/3] clk: introduce the common clock framework

Shawn Guo shawn.guo at linaro.org
Wed Mar 21 05:46:28 UTC 2012

On 21 March 2012 07:46, Turquette, Mike <mturquette at ti.com> wrote:
> As mentioned above, you'll still need to check for CLK_SET_RATE_PARENT
> in your .round_rate implementation with __clk_get_flags(hw->clk).
For my particular case, the clk is PLL with fixed rate clk
(oscillator) as parent.  It's known that flag CLK_SET_RATE_PARENT will
never be set for this type of clks.

> Did you want to send a formal patch or just have me absorb this into
> the fixes I'm brewing already?  I've already fixed the potential null
> ptr dereferences in clk_calc_new_rates, but that's no big deal.
The code was attached for better discussion, and I would leave the
formal patch to you.


More information about the linaro-dev mailing list