clk: rockchip: update the frac clk parent

Fixes: cd10522093 ("clk: rockchip: fix up frac clk parent no update")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I9fd76eb118f925ec4eeb8b928a7acb3ee2b93deb
This commit is contained in:
Elaine Zhang
2022-12-06 16:44:49 +08:00
committed by Tao Huang
parent 1a04192711
commit 7a22993077

View File

@@ -168,6 +168,9 @@ static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb,
if (frac->rate_change_remuxed) {
frac->mux_ops->set_parent(&frac_mux->hw,
frac->rate_change_idx);
clk_hw_set_parent(&frac_mux->hw,
clk_hw_get_parent_by_index(&frac_mux->hw,
frac->rate_change_idx));
frac->rate_change_remuxed = 0;
}
}