]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0c6dacaabc26887e5a4d73c0db5590e2f2e6252
treebc1ddd653a8b30fbd5df37decb9f96f0b3654fb9
parent6146058ff7defdf6c8088417929748dd23361540
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