Commit 16d1c899 authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Haojian Zhuang

clk: hisi: assign missing clk to table

The fixed rate and fixed factor clock isn't registered to clk table.
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 38dbfb59
...@@ -68,6 +68,7 @@ void __init hisi_clk_register_fixed_rate(struct hisi_fixed_rate_clock *clks, ...@@ -68,6 +68,7 @@ void __init hisi_clk_register_fixed_rate(struct hisi_fixed_rate_clock *clks,
__func__, clks[i].name); __func__, clks[i].name);
continue; continue;
} }
clk_table[clks[i].id] = clk;
} }
} }
...@@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks, ...@@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks,
__func__, clks[i].name); __func__, clks[i].name);
continue; continue;
} }
clk_table[clks[i].id] = clk;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment