commit | 322269163a36ac73be403120e046d90d6a1d38f1 | [log] [tgz] |
---|---|---|
author | Jiancheng Xue <xuejiancheng@hisilicon.com> | Wed Jun 15 14:26:35 2016 +0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Jun 30 12:34:19 2016 -0700 |
tree | c93a4b973c453b78fc22cd5c1837ff2ba271895b | |
parent | 97b7129cd2afb478c4812781470f06d65f458825 [diff] |
clk: hisilicon: add hisi_clk_alloc function. Before, there was an ordering issue that the clock provider had been published in hisi_clk_init before it could provide valid clocks to consumers. hisi_clk_alloc is just used to allocate memory space for struct hisi_clock_data. It makes it possible to publish the provider after the clocks are ready. Signed-off-by: Jiancheng Xue <xuejiancheng@hisilicon.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>