Skip to content
Commit 2983ad55 authored by Dario Binacchi's avatar Dario Binacchi Committed by Lokesh Vutla
Browse files

clk: add clk_round_rate()



It returns the rate which will be set if you ask clk_set_rate() to set
that rate. It provides a way to query exactly what rate you'll get if
you call clk_set_rate() with that same argument.
So essentially, clk_round_rate() and clk_set_rate() are equivalent
except the former does not modify the clock hardware in any way.

Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
parent 6337d53f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment