Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321848
b: refs/heads/master
c: 2735dae
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Aug 7, 2012
1 parent b5c0147 commit 0467500
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 12565b166dab7966c2991c1561f3c22e9dad5535
refs/heads/master: 2735daeb161d3eb1ba041158c21ac2a0e42da6a2
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/palmas-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ static int palmas_ldo_init(struct palmas *palmas, int id,

addr = palmas_regs_info[id].ctrl_addr;

ret = palmas_smps_read(palmas, addr, &reg);
ret = palmas_ldo_read(palmas, addr, &reg);
if (ret)
return ret;

Expand All @@ -599,7 +599,7 @@ static int palmas_ldo_init(struct palmas *palmas, int id,
if (reg_init->mode_sleep)
reg |= PALMAS_LDO1_CTRL_MODE_SLEEP;

ret = palmas_smps_write(palmas, addr, reg);
ret = palmas_ldo_write(palmas, addr, reg);
if (ret)
return ret;

Expand Down

0 comments on commit 0467500

Please sign in to comment.