Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292061
b: refs/heads/master
c: 5859939
h: refs/heads/master
i:
  292059: 7334bb9
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Mar 13, 2012
1 parent f5455b6 commit 336bb6f
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: fc56911bc6468c165894e0ca985b1130bb537955
refs/heads/master: 585993932ccc44ab6a8c6dc590a2f3d6b2facb41
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/tps65910-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ static unsigned int tps65910_get_mode(struct regulator_dev *dev)
if (value < 0)
return value;

if (value & LDO_ST_ON_BIT)
if (!(value & LDO_ST_ON_BIT))
return REGULATOR_MODE_STANDBY;
else if (value & LDO_ST_MODE_BIT)
return REGULATOR_MODE_IDLE;
Expand Down

0 comments on commit 336bb6f

Please sign in to comment.