summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/clk-tegra-periph.c
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2013-12-27 04:44:27 +0400
committerPeter De Schrijver <pdeschrijver@nvidia.com>2014-02-17 18:18:34 +0400
commit3de5bdfb4cb3bd99052a4ffaee358189779be042 (patch)
tree0ca23dade9b01c0f5ff3c1d6101e1533f401e5fa /drivers/clk/tegra/clk-tegra-periph.c
parent88b4bd7071ac06e321b4bf4bdb8c69db40182c5a (diff)
downloadlinux-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