Messages in this thread | | | From | Chen-Yu Tsai <> | Date | Thu, 4 May 2017 11:23:36 +0800 | Subject | Re: [PATCH v2 4/20] clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT |
| |
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard <maxime.ripard@free-electrons.com> wrote: > The current code only rely on the parent to change its rate in the case > where CLK_SET_RATE_PARENT is set. > > However, some clock rates might be obtained only through a modification of > the parent and the clock divider. Just rely on the round rate of the clocks > to give us the best computation that might be achieved for a given rate. > > round_rate functions now need to honor CLK_SET_RATE_PARENT, but either the > functions already do that if they modify the parent, or don't modify the > praents at all. > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
| |