mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user