Merge branch 'clk-fixes' into clk-next

This commit is contained in:
Mike Turquette 2014-05-23 14:37:10 -07:00
commit 42dd880e67
1 changed files with 1 additions and 1 deletions

View File

@ -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) static int _round_up_table(const struct clk_div_table *table, int div)
{ {
const struct clk_div_table *clkt; const struct clk_div_table *clkt;
int up = _get_table_maxdiv(table); int up = INT_MAX;
for (clkt = table; clkt->div; clkt++) { for (clkt = table; clkt->div; clkt++) {
if (clkt->div == div) if (clkt->div == div)