Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127854
b: refs/heads/master
c: 9618690
h: refs/heads/master
v: v3
  • Loading branch information
Mike Rapoport authored and Liam Girdwood committed Jan 8, 2009
1 parent 8b433d4 commit 235d24b
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: 471d8d49a752a8ee3caf606dca83f7d7b99355f7
refs/heads/master: 961869048b61c853a17f35b98be91c5630a73906
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static int da903x_is_enabled(struct regulator_dev *rdev)
if (ret)
return ret;

return reg_val & (1 << info->enable_bit);
return !!(reg_val & (1 << info->enable_bit));
}

/* DA9030 specific operations */
Expand Down

0 comments on commit 235d24b

Please sign in to comment.