Skip to content
Commit c9c3c6ee authored by Heiko Stuebner's avatar Heiko Stuebner
Browse files

clk: rockchip: simplify GRF handling in pll clocks



With the previous commit, the clock drivers now know at init time if the
GRF regmap is available. That means if it isn't available then, it also
won't become available later and we can therefore switch PLLs, that need
the GRF for the lock-status, to read-only mode - similar behaviour as the
aborting of rate changes we did before.

This saves some conditionals on every rate change and we can also drop
the rockchip_clk_get_grf function completely.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 6f339dc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment