Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312541
b: refs/heads/master
c: ec0ab07
h: refs/heads/master
i:
  312539: cc1e0e9
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Jun 17, 2012
1 parent dd78221 commit d300b14
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c705742201260afd08b05ff84674507735e2b16b
refs/heads/master: ec0ab07587f0d2af208366158f5fd487311f1c56
5 changes: 4 additions & 1 deletion trunk/drivers/regulator/tps65023-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ static int __devinit tps_65023_probe(struct i2c_client *client,

tps->desc[i].name = info->name;
tps->desc[i].id = i;
tps->desc[i].n_voltages = info->table_len;
if (info->fixed)
tps->desc[i].n_voltages = 1;
else
tps->desc[i].n_voltages = info->table_len;
tps->desc[i].ops = (i > TPS65023_DCDC_3 ?
&tps65023_ldo_ops : &tps65023_dcdc_ops);
tps->desc[i].type = REGULATOR_VOLTAGE;
Expand Down

0 comments on commit d300b14

Please sign in to comment.