Re: [V2][PATCH] clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback

From: Stephen Boyd
Date: Wed Apr 07 2021 - 21:09:36 EST


Quoting quanyang.wang@xxxxxxxxxxxxx (2021-04-06 08:40:15)
> From: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>
>
> The round_rate callback should only perform rate calculation and not
> involve calling zynqmp_pll_set_mode to change the pll mode. So let's
> move zynqmp_pll_set_mode out of round_rate and to set_rate callback.
>
> Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver")
> Reported-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> Signed-off-by: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>
> ---

Applied to clk-next