diff options
author | Mike Turquette <mturquette@linaro.org> | 2014-05-23 21:37:10 (GMT) |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-05-23 21:37:10 (GMT) |
commit | 42dd880e678061aa1b26c69579a2dbb8f9532460 (patch) | |
tree | c56caba1c2d7df6c69f7e71d6ecfe1036696cc8f /drivers/clk/clk-divider.c | |
parent | dedca6abaf42fb596645e60a20f677a6a4692c22 (diff) | |
parent | fe52e7505f8bf365d5ab0eeee19ababe406cbaaf (diff) | |
download | linux-42dd880e678061aa1b26c69579a2dbb8f9532460.tar.xz |
Merge branch 'clk-fixes' into clk-next
Diffstat (limited to 'drivers/clk/clk-divider.c')
-rw-r--r-- | drivers/clk/clk-divider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index c9343f5..47eabfa 100644 --- a/drivers/clk/clk-divider.c +++ b/drivers/clk/clk-divider.c @@ -158,7 +158,7 @@ static bool _is_valid_div(struct clk_divider *divider, unsigned int div) static int _round_up_table(const struct clk_div_table *table, int div) { const struct clk_div_table *clkt; - int up = _get_table_maxdiv(table); + int up = INT_MAX; for (clkt = table; clkt->div; clkt++) { if (clkt->div == div) |