[PATCH v2 5/20] clk: sunxi-ng: mux: split out the pre-divider computation code
From: Chen-Yu Tsai <hidden>
Date: 2017-05-04 03:26:07
Also in:
dri-devel, linux-clk, linux-devicetree, lkml
From: Chen-Yu Tsai <hidden>
Date: 2017-05-04 03:26:07
Also in:
dri-devel, linux-clk, linux-devicetree, lkml
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard [off-list ref] 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 <redacted>
Acked-by: Chen-Yu Tsai <redacted> Seems this would conflict with my "clk: sunxi-ng: Support multiple variable pre-dividers" patch though. We'll see how this works out.