]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rockchip: lookup General Register Files in rockchip_clk_init
authorHeiko Stuebner <heiko@sntech.de>
Tue, 15 Mar 2016 15:40:32 +0000 (16:40 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 9 May 2016 14:04:11 +0000 (16:04 +0200)
commit67435b2cfc19a1846119907fcf2e4aa8e6957e96
tree5c202cbe230546bc357b0fed0756602be3e43500
parentea5ef0d84a478e1da8d4db86f18dba892e209dbc
clk: rockchip: lookup General Register Files in rockchip_clk_init

In the distant past syscons were initialized pretty late and weren't
available at the time the clock init ran. As the GRF is mainly needed
for PLL lock-status checking, we had this lazy init that tried to grab
the syscon on PLL rate changes and denied these changes if it was not
available.

These days syscons are available very early and recent addition to
rockchip clocks, like the PLL clk_init actually also rely on them
being available at that time, so there is no need to keep that lazy
init around, as it will also result in some more simplifications in
other parts of the clock-code.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk.c