]> 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)
commitaff1f086c611b2b6110fbad76fef81d58dc2df36
treebc1ddd653a8b30fbd5df37decb9f96f0b3654fb9
parent2e6274bc28c0944f4a9fb8566c5a527e115c460f
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