Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254755
b: refs/heads/master
c: dbb48e7
h: refs/heads/master
i:
  254753: 4aaaf94
  254751: 183b2eb
v: v3
  • Loading branch information
Tushar Behera authored and Liam Girdwood committed Jul 8, 2011
1 parent eb277e9 commit 5f6c76e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: e2cf3137aaa23faf2b8c1335671f1a0a0d90aab5
refs/heads/master: dbb48e7c3db4871803fc990864e37917e413ccb2
8 changes: 4 additions & 4 deletions trunk/drivers/regulator/max8997.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,10 @@ static __devinit int max8997_pmic_probe(struct platform_device *pdev)
0x3f);
}

/* Misc Settings */
max8997->ramp_delay = 10; /* set 10mV/us, which is the default */
max8997_write_reg(i2c, MAX8997_REG_BUCKRAMP, (0xf << 4) | 0x9);

for (i = 0; i < pdata->num_regulators; i++) {
const struct voltage_map_desc *desc;
int id = pdata->regulators[i].id;
Expand All @@ -1148,10 +1152,6 @@ static __devinit int max8997_pmic_probe(struct platform_device *pdev)
}
}

/* Misc Settings */
max8997->ramp_delay = 10; /* set 10mV/us, which is the default */
max8997_write_reg(i2c, MAX8997_REG_BUCKRAMP, (0xf << 4) | 0x9);

return 0;
err:
for (i = 0; i < max8997->num_regulators; i++)
Expand Down

0 comments on commit 5f6c76e

Please sign in to comment.