Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343226
b: refs/heads/master
c: 8a23b4e
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 11, 2012
1 parent 7d3c4ca commit f8c7f51
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b17fc86cc5e8fbfd1d18765f6463d1989c59f9c6
refs/heads/master: 8a23b4e03d6873ec50f7d212de78ff01e393fc1a
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ int regulator_can_change_voltage(struct regulator *regulator)

if (rdev->constraints &&
rdev->constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE &&
rdev->desc->n_voltages > 1)
(rdev->desc->n_voltages - rdev->desc->linear_min_sel) > 1)
return 1;

return 0;
Expand Down

0 comments on commit f8c7f51

Please sign in to comment.