clk: rockchip: handle critical clocks after registering all clocks
authorHeiko Stuebner <heiko@sntech.de>
Fri, 21 Aug 2015 17:51:41 +0000 (19:51 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 10 Sep 2015 20:55:21 +0000 (13:55 -0700)
commitbb0f73616396e7929b68d3bdea70064003599d33
treebc1ddd653a8b30fbd5df37decb9f96f0b3654fb9
parent9f42a89da6b4dc015631e01ba990d3db2cae2a1b
clk: rockchip: handle critical clocks after registering all clocks

Currently the registration of critical clocks is done in the function
shared between rk3066 and rk3188 clock trees. That results in them
getting handled maybe before all of them are registered.

Therefore move the critical clock handling down to the end of the soc-
specific clock registration function, so that all clocks are registered
before they're maybe handled as critical clock.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Michael Niewoehner <linux@mniewoehner.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/rockchip/clk-rk3188.c