clk: rockchip: check grf when waiting pll lock
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 15 Feb 2016 03:33:25 +0000 (11:33 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 15 Feb 2016 21:38:27 +0000 (22:38 +0100)
commiteb4e10c61ddb513dae6508a16eedd2da59effb98
tree918afd22493cee418c84d0f8893dd08349e169a9
parent282312d1ac8aad4947a01c2caf79c9c0299fb495
clk: rockchip: check grf when waiting pll lock

rockchip_clk_get_grf pass on return value from
syscon_regmap_lookup_by_phandle, so we check grf to
make sure whether to do the following things or not.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-pll.c