Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177733
b: refs/heads/master
c: 205e5cd
h: refs/heads/master
i:
  177731: ffd8049
v: v3
  • Loading branch information
Juha Keski-Saari authored and Liam Girdwood committed Dec 17, 2009
1 parent c23ad4a commit c19db67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07fc493f03019b5a98de1a498ab1b235afc394db
refs/heads/master: 205e5cd3d933a9ea7b75630355c8f8ec5ef16f6c
13 changes: 13 additions & 0 deletions trunk/drivers/regulator/twl-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,19 @@ static int twlreg_probe(struct platform_device *pdev)
c->valid_ops_mask &= REGULATOR_CHANGE_VOLTAGE
| REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS;
switch (pdev->id) {
case TWL4030_REG_VIO:
case TWL4030_REG_VDD1:
case TWL4030_REG_VDD2:
case TWL4030_REG_VPLL1:
case TWL4030_REG_VINTANA1:
case TWL4030_REG_VINTANA2:
case TWL4030_REG_VINTDIG:
c->always_on = true;
break;
default:
break;
}

rdev = regulator_register(&info->desc, &pdev->dev, initdata, info);
if (IS_ERR(rdev)) {
Expand Down

0 comments on commit c19db67

Please sign in to comment.