Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188979
b: refs/heads/master
c: cdb868f
h: refs/heads/master
i:
  188977: 07c3e5c
  188975: e889775
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed Mar 22, 2010
1 parent f68ac11 commit b251145
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: 4f26a2abe1eed18dc6adddf2d0ae5553e51578c2
refs/heads/master: cdb868f58103825856e27aa4e1f26943fc119e41
3 changes: 2 additions & 1 deletion trunk/drivers/regulator/lp3971.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ static int lp3971_ldo_set_voltage(struct regulator_dev *dev,
return -EINVAL;

return lp3971_set_bits(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo),
LDO_VOL_CONTR_MASK << LDO_VOL_CONTR_SHIFT(ldo), val);
LDO_VOL_CONTR_MASK << LDO_VOL_CONTR_SHIFT(ldo),
val << LDO_VOL_CONTR_SHIFT(ldo));
}

static struct regulator_ops lp3971_ldo_ops = {
Expand Down

0 comments on commit b251145

Please sign in to comment.