clk: rockchip: don't use clk_ APIs in the pll init-callback
authorHeiko Stübner <heiko@sntech.de>
Thu, 1 Oct 2015 09:38:35 +0000 (11:38 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 1 Oct 2015 21:58:28 +0000 (14:58 -0700)
commit8334c0e7b983fb27e0d8788901e9621d1946ba93
tree6aa928269d6546ad28a721025d434039f5ef08c0
parentdf70aeef60839cb2732913fa41e61aba52ca942c
clk: rockchip: don't use clk_ APIs in the pll init-callback

Separate the update of pll registers from the actual set_rate function
so that the init callback does not need to access clk-API functions.

As we now have separated the getting and setting of the pll parameters
we can also directly use these new functions in other places too.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/rockchip/clk-pll.c