clk: rockchip: add pll_wait_lock for pll_enable
authorElaine Zhang <zhangqing@rock-chips.com>
Wed, 22 Feb 2017 02:59:55 +0000 (10:59 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 22 Mar 2017 17:33:22 +0000 (18:33 +0100)
commit9be83448951a404a6fd5cf43ee0245a9bccc02c1
tree55e43d2247420504b778f0a29635fd832e915221
parent7e2a9035c1dbc4632f1897a8fe580fc90f33c013
clk: rockchip: add pll_wait_lock for pll_enable

If pll is power down,when power up pll need wait pll lock.
The reference documents section:
PLL frequency change and lock check

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-pll.c