diff options
author | Heiko Stuebner <[email protected]> | 2020-01-29 17:38:20 +0100 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2020-06-15 11:47:14 +0200 |
commit | 3507df1a4615113ae6509e0f14f6546f0d1c84b4 (patch) | |
tree | fcd7d37fae3b8b40d06d4efaad388139655800b6 /lib/test_overflow.c | |
parent | bf4237a188f872e535de8cbfc7903c1387b83b01 (diff) |
clk: rockchip: convert basic pll lock_wait to use regmap_read_poll_timeout
Instead of open coding the polling of the lock status, use the
handy regmap_read_poll_timeout for this. As the pll locking is
normally blazingly fast and we don't want to incur additional
delays, we're not doing any sleeps similar to for example the imx
clk-pllv4 and define a very safe but still short timeout of 1ms.
Suggested-by: Stephen Boyd <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions