mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
clk: rockchip: rk3308: Call rockchip_soc_id_init() on init
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 <huangtao@rock-chips.com>
This commit is contained in:
@@ -958,6 +958,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));
|
||||
|
||||
Reference in New Issue
Block a user