Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254758
b: refs/heads/master
c: 6ff325a
h: refs/heads/master
v: v3
  • Loading branch information
Donggeun Kim authored and Liam Girdwood committed Jul 8, 2011
1 parent 7e69cab commit 9d0c871
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90609503b71b6ec4aaf325c88de98da28740bc1d
refs/heads/master: 6ff325a2d85481cbe31dfbb74b4fd2d94c115300
3 changes: 2 additions & 1 deletion trunk/drivers/regulator/max8997.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ static int max8997_set_voltage_ldobuck(struct regulator_dev *rdev,
rid == MAX8997_BUCK4 || rid == MAX8997_BUCK5) {
/* If the voltage is increasing */
if (org < i)
udelay(desc->step * (i - org) / max8997->ramp_delay);
udelay(DIV_ROUND_UP(desc->step * (i - org),
max8997->ramp_delay));
}

return ret;
Expand Down

0 comments on commit 9d0c871

Please sign in to comment.