Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302240
b: refs/heads/master
c: a67f7e6
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 19, 2012
1 parent d0ba97e commit 17d6c76
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: a81edbdeb68bbecb3ee2888da7a83662ae69c9f3
refs/heads/master: a67f7e6b601ab55067d02de42e89be34c4b6f345
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/88pm8607.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int pm8607_set_voltage_sel(struct regulator_dev *rdev, unsigned selector)
val = (uint8_t)(selector << info->vol_shift);
mask = (rdev->desc->n_voltages - 1) << info->vol_shift;

ret = pm860x_set_bits(info->i2c, info->vol_reg, mask, selector);
ret = pm860x_set_bits(info->i2c, info->vol_reg, mask, val);
if (ret)
return ret;
switch (info->desc.id) {
Expand Down

0 comments on commit 17d6c76

Please sign in to comment.