soc: rockchip: opp_select: Fix clk error for normal pll clk

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ie7d980655f1c3c8cdc03206ec712789e916cfcc6
This commit is contained in:
Finley Xiao
2024-02-22 16:20:09 +08:00
committed by Tao Huang
parent 8bcccec31d
commit 9e4a1dc7e0

View File

@@ -2307,7 +2307,7 @@ int rockchip_opp_config_clks(struct device *dev, struct opp_table *opp_table,
unsigned long *target = data;
int ret;
if (!info->is_runtime_active)
if (info->is_scmi_clk && !info->is_runtime_active)
return 0;
ret = clk_bulk_prepare_enable(info->nclocks, info->clocks);