Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302157
b: refs/heads/master
c: 9cc7a45
h: refs/heads/master
i:
  302155: e329928
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 5, 2012
1 parent 1290738 commit b381244
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: 7eb6444fc33bfe7bcd05533de86a1dc4e1852d71
refs/heads/master: 9cc7a453b637d8c1f628f9873204ff55d7aa664c
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/rc5t583-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static int rc5t583_set_voltage_sel(struct regulator_dev *rdev,
struct rc5t583_regulator *reg = rdev_get_drvdata(rdev);
struct rc5t583_regulator_info *ri = reg->reg_info;
int ret;
if (selector > ri->nsteps) {
if (selector >= ri->nsteps) {
dev_err(&rdev->dev, "Invalid selector 0x%02x\n", selector);
return -EINVAL;
}
Expand Down

0 comments on commit b381244

Please sign in to comment.