Skip to content

Commit

Permalink
clk: rockchip: rk3308: Call rockchip_soc_id_init() on init
Browse files Browse the repository at this point in the history
clk init on time_init() which is before pure_initcall.
So call rockchip_soc_id_init() before call soc_is_rk3308b().

Change-Id: Iece3673bc7309ef9193df99f2a95e4b930613a3e
Signed-off-by: Tao Huang <[email protected]>
  • Loading branch information
rkhuangtao committed Sep 11, 2021
1 parent f370f64 commit 189d8e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/rockchip/clk-rk3308.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ static void __init rk3308_clk_init(struct device_node *np)
RK3308_GRF_SOC_STATUS0);
rockchip_clk_register_branches(ctx, rk3308_clk_branches,
ARRAY_SIZE(rk3308_clk_branches));
rockchip_soc_id_init();
if (soc_is_rk3308b())
rockchip_clk_register_branches(ctx, rk3308b_dclk_vop_frac,
ARRAY_SIZE(rk3308b_dclk_vop_frac));
Expand Down

0 comments on commit 189d8e4

Please sign in to comment.