Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276936
b: refs/heads/master
c: 26bc4e0
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Dec 20, 2011
1 parent 050f8db commit f23b966
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: af65e6cef488be0bd15932c8ce9801a47a183051
refs/heads/master: 26bc4e0cc5426e86398d6780d160f02c0a347087
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/tps6586x.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask)
if (ret)
goto out;

if ((reg_val & bit_mask) == 0) {
if ((reg_val & bit_mask) != bit_mask) {
reg_val |= bit_mask;
ret = __tps6586x_write(to_i2c_client(dev), reg, reg_val);
}
Expand Down

0 comments on commit f23b966

Please sign in to comment.