clk: tegra: emc: Fix EMC max-rate clamping

When a clk user requests rate that is higher than the maximum possible,
the rate shall be clamped to the maximum and not to the current value.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Dmitry Osipenko 2019-04-14 22:23:19 +03:00 • committed by Stephen Boyd
commit 913c3072eb