[PATCH v2 5/20] clk: sunxi-ng: mux: split out the pre-divider computation code

Chen-Yu Tsai wens at csie.org
Wed May 3 20:25:34 PDT 2017


On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> The pre-divider retrieval code was merged into the function to apply the
> current pre-divider onto the parent clock rate so that we can use that
> adjusted value to do our factors computation.
>
> However, since we'll need to do the reverse operation, we need to split out
> that code into a function that will be shared.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Acked-by: Chen-Yu Tsai <wens at csie.org>

Seems this would conflict with my "clk: sunxi-ng: Support multiple variable
pre-dividers" patch though. We'll see how this works out.



More information about the linux-arm-kernel mailing list