mirror of https://gitee.com/openkylin/linux.git
Merge branch 'clk-fixes' into clk-next
This commit is contained in:
commit
42dd880e67
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue