summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-05-23 14:37:10 -0700
committerMike Turquette <mturquette@linaro.org>2014-05-23 14:37:10 -0700
commit42dd880e678061aa1b26c69579a2dbb8f9532460 (patch)
treec56caba1c2d7df6c69f7e71d6ecfe1036696cc8f
parentdedca6abaf42fb596645e60a20f677a6a4692c22 (diff)
parentfe52e7505f8bf365d5ab0eeee19ababe406cbaaf (diff)
downloadop-kernel-dev-42dd880e678061aa1b26c69579a2dbb8f9532460.zip
op-kernel-dev-42dd880e678061aa1b26c69579a2dbb8f9532460.tar.gz
Merge branch 'clk-fixes' into clk-next
-rw-r--r--drivers/clk/clk-divider.c2
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)
OpenPOWER on IntegriCloud