Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198385
b: refs/heads/master
c: 1dcc434
h: refs/heads/master
i:
  198383: dbc8305
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed May 25, 2010
1 parent 8561a65 commit 46bd839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9f79e9db2e282857912bcfe7f741bcdd5c46e860
refs/heads/master: 1dcc434b52ff25416b225f6ac229fc775867303a
6 changes: 3 additions & 3 deletions trunk/drivers/regulator/mc13783-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ static int mc13783_fixed_regulator_set_voltage(struct regulator_dev *rdev,
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 > mc13783_regulators[id].voltages[0] &&
max_uV < mc13783_regulators[id].voltages[0])
if (min_uV >= mc13783_regulators[id].voltages[0] &&
max_uV <= mc13783_regulators[id].voltages[0])
return 0;
else
return -EINVAL;
Expand Down Expand Up @@ -649,6 +649,6 @@ static void __exit mc13783_regulator_exit(void)
module_exit(mc13783_regulator_exit);

MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de");
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
MODULE_DESCRIPTION("Regulator Driver for Freescale MC13783 PMIC");
MODULE_ALIAS("platform:mc13783-regulator");

0 comments on commit 46bd839

Please sign in to comment.