Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282186
b: refs/heads/master
c: ab62aa9
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Dec 5, 2011
1 parent e6c296c commit 6caddd0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 068df0f34e81bc06c5eb5012ec2eda25624e87aa
refs/heads/master: ab62aa931ed3512bc67857a03636756b96c78eae
3 changes: 3 additions & 0 deletions trunk/drivers/regulator/of_regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ static void of_get_regulation_constraints(struct device_node *np,
/* Voltage change possible? */
if (constraints->min_uV != constraints->max_uV)
constraints->valid_ops_mask |= REGULATOR_CHANGE_VOLTAGE;
/* Only one voltage? Then make sure it's set. */
if (constraints->min_uV == constraints->max_uV)
constraints->apply_uV = true;

uV_offset = of_get_property(np, "regulator-microvolt-offset", NULL);
if (uV_offset)
Expand Down

0 comments on commit 6caddd0

Please sign in to comment.