diff options
author | Axel Lin <[email protected]> | 2012-01-20 14:34:05 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-23 08:38:48 -0800 |
commit | 36c3e75907c8cb515fad260190ca1beb7e53df96 (patch) | |
tree | 101610ceccbcd0956f7b7d1799af1e357d81ed79 /net/lapb/lapb_timer.c | |
parent | d496aab567e7e52b3e974c9192a5de6e77dce32c (diff) |
drivers/video/backlight/adp88x0_bl.c: fix bit testing logic
We need to write new value if the bit mask fields of new value is not
equal to old value. It does not make sense to write new value only when
all the bit_mask bits are zero.
Signed-off-by: Axel Lin <[email protected]>
Cc: Michael Hennerich <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions