Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177723
b: refs/heads/master
c: 495353a
h: refs/heads/master
i:
  177721: b4c70b3
  177719: 51169d0
v: v3
  • Loading branch information
Roel Kluin authored and Liam Girdwood committed Dec 17, 2009
1 parent 5110682 commit c6a7082
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: ddec68107ab101d9ff934811d5598f5c613027f2
refs/heads/master: 495353a3f7fbb11e5100c9258365ff65a4834b37
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static int da9034_get_ldo12_voltage(struct regulator_dev *rdev)
static int da9034_list_ldo12_voltage(struct regulator_dev *rdev,
unsigned selector)
{
if (selector > ARRAY_SIZE(da9034_ldo12_data))
if (selector >= ARRAY_SIZE(da9034_ldo12_data))
return -EINVAL;
return da9034_ldo12_data[selector] * 1000;
}
Expand Down

0 comments on commit c6a7082

Please sign in to comment.