diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2013-12-27 04:44:27 +0400 |
---|---|---|
committer | Peter De Schrijver <pdeschrijver@nvidia.com> | 2014-02-17 18:18:34 +0400 |
commit | 3de5bdfb4cb3bd99052a4ffaee358189779be042 (patch) | |
tree | 0ca23dade9b01c0f5ff3c1d6101e1533f401e5fa /drivers/clk/tegra/clk-tegra-periph.c | |
parent | 88b4bd7071ac06e321b4bf4bdb8c69db40182c5a (diff) | |
download | linux-3de5bdfb4cb3bd99052a4ffaee358189779be042.tar.xz |
clk: tegra: use max divider if divider overflows
When requesting a rate less than the minimum clock rate for a divider,
use the maximum divider value instead of bailing out with an error.
This matches the behavior of the generic clock divider.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra-periph.c')
0 files changed, 0 insertions, 0 deletions