Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165406
b: refs/heads/master
c: 55c1d7c
h: refs/heads/master
v: v3
  • Loading branch information
Haojian Zhuang authored and Liam Girdwood committed Sep 22, 2009
1 parent 3165d4b commit 4bb9515
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d87b969d15a084503870da598c97278fb4877753
refs/heads/master: 55c1d7c60d9b269551cd7cc31e6be8323e1d94ec
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static int da9034_set_ldo12_voltage(struct regulator_dev *rdev,
}

val = (min_uV - info->min_uV + info->step_uV - 1) / info->step_uV;
val = (val > 7 && val < 20) ? 8 : val - 12;
val = (val >= 20) ? val - 12 : ((val > 7) ? 8 : val);
val <<= info->vol_shift;
mask = ((1 << info->vol_nbits) - 1) << info->vol_shift;

Expand Down

0 comments on commit 4bb9515

Please sign in to comment.