Dario Binacchi 2983ad55a1 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: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
2021-01-12 10:58:04 +05:30
..
2020-04-16 14:36:28 +08:00
2021-01-12 10:58:04 +05:30
2020-05-18 17:33:31 -04:00
2020-04-30 17:16:12 +08:00
2016-10-19 09:01:53 +02:00
2018-09-23 21:55:30 +02:00
2020-10-29 14:42:18 -06:00
2020-11-05 09:11:30 -07:00