Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323335
b: refs/heads/master
c: 4001376
h: refs/heads/master
i:
  323333: c41e8b4
  323331: f1162ee
  323327: cf682e1
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Aug 28, 2012
1 parent 31713ea commit a1b787c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 363506cd71a5cafeee67b236112f1baf8c30b0ea
refs/heads/master: 4001376ef2f6f4ec0f362566d95937434afa07ba
7 changes: 1 addition & 6 deletions trunk/drivers/regulator/wm8400-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,8 @@ static int wm8400_dcdc_set_mode(struct regulator_dev *dev, unsigned int mode)

case REGULATOR_MODE_IDLE:
/* Datasheet: standby */
ret = wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_1 + offset,
WM8400_DC1_ACTIVE, 0);
if (ret != 0)
return ret;
return wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_1 + offset,
WM8400_DC1_SLEEP, 0);

WM8400_DC1_ACTIVE | WM8400_DC1_SLEEP, 0);
default:
return -EINVAL;
}
Expand Down

0 comments on commit a1b787c

Please sign in to comment.