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

From: quanyang.wang
Date: Wed Mar 31 2021 - 22:03:35 EST


Hi Stephen,

On 4/1/21 9:48 AM, Stephen Boyd wrote:
Quoting quanyang.wang@xxxxxxxxxxxxx (2021-03-31 02:00:18)
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.

Reported-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Signed-off-by: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>
---
Any Fixes tag?

Thanks for your reminder. I will add Fixes tag at the V2 version patch.

Thanks,

Quanyang