]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec008efc48e1dc63476900bcb2e3c7aade50fc58
tree6aa928269d6546ad28a721025d434039f5ef08c0
parent2fa95b59252f79dd072ba8ec1f3e5e06153c7b29
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