]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Return the exact clock rate from clk_round_rate
authorRobert Yang <decatf@gmail.com>
Tue, 25 Sep 2018 21:49:40 +0000 (17:49 -0400)
committerStephen Boyd <sboyd@kernel.org>
Fri, 14 Dec 2018 21:32:55 +0000 (13:32 -0800)
commitcf3a270e445a9963f67164b667f176457ce0bc19
treee7049b99c5eb948d2535fad72aec7bdbed323737
parentcab1799516d30a59ec390398a2afa25e47714f6a
clk: tegra: Return the exact clock rate from clk_round_rate

The current behavior is that clk_round_rate would return the same clock
rate passed to it for valid PLL configurations. This change will return
the exact rate the PLL will provide in accordance with clk API.

Signed-off-by: Robert Yang <decatf@gmail.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-pll.c