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

clk: rockchip: drop old_rate calculation on pll rate changes



Previously when everything happened in the set_rate callbacks itself we
needed the old_rate value for the possible rate rollback, so that made
it easy to also use it in the debug output.

Now with the param-handling being done in separate functions, reading and
recalculating the current pll rate only to use it in a debug message that
won't get displayed in regular cases anyway is quite a waste.

Therefore drop that value from the debug output. In the worst case that
previous rate will have been displayed on the rate change before.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent c9c3c6ee
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