diff options
author | Quanyang Wang <quanyang.wang@windriver.com> | 2021-04-06 17:40:15 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-04-08 03:09:23 +0200 |
commit | d7fd3f9f53df8bb2212dff70f66f12cae0e1a653 (patch) | |
tree | 12cb6b140b661c96e731d46f1954ca3a5fb7d196 /drivers/clk/clk-axi-clkgen.c | |
parent | clk: zynqmp: Drop dependency on ARCH_ZYNQMP (diff) | |
download | linux-d7fd3f9f53df8bb2212dff70f66f12cae0e1a653.tar.xz linux-d7fd3f9f53df8bb2212dff70f66f12cae0e1a653.zip |
clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
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@ideasonboard.com>
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Link: https://lore.kernel.org/r/20210406154015.602779-1-quanyang.wang@windriver.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-axi-clkgen.c')
0 files changed, 0 insertions, 0 deletions