Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312544
b: refs/heads/master
c: ee5e625
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Jun 17, 2012
1 parent 1152ba3 commit 176f951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: e08ef739feec5341fe9382a9f5173ddd56c95f93
refs/heads/master: ee5e6253ac22210da892435711890fa2272daa41
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/mc13xxx-regulator-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ int mc13xxx_fixed_regulator_set_voltage(struct regulator_dev *rdev, int min_uV,
dev_dbg(rdev_get_dev(rdev), "%s id: %d min_uV: %d max_uV: %d\n",
__func__, id, min_uV, max_uV);

if (min_uV >= mc13xxx_regulators[id].voltages[0] &&
max_uV <= mc13xxx_regulators[id].voltages[0])
if (min_uV <= mc13xxx_regulators[id].voltages[0] &&
mc13xxx_regulators[id].voltages[0] <= max_uV)
return 0;
else
return -EINVAL;
Expand Down

0 comments on commit 176f951

Please sign in to comment.