Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298582
b: refs/heads/master
c: ed3be9a
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Mar 28, 2012
1 parent 6756900 commit 3f6a056
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: a171e782a97d4ba55d7fa02f9a46904288b2c229
refs/heads/master: ed3be9a0e3c1050fe07d69a8c600d86cac76cdc4
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/wm831x-isink.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static int wm831x_isink_set_current(struct regulator_dev *rdev,

for (i = 0; i < ARRAY_SIZE(wm831x_isinkv_values); i++) {
int val = wm831x_isinkv_values[i];
if (min_uA >= val && val <= max_uA) {
if (min_uA <= val && val <= max_uA) {
ret = wm831x_set_bits(wm831x, isink->reg,
WM831X_CS1_ISEL_MASK, i);
return ret;
Expand Down

0 comments on commit 3f6a056

Please sign in to comment.