summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-20 22:34:05 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-23 16:38:48 (GMT)
commit36c3e75907c8cb515fad260190ca1beb7e53df96 (patch)
tree101610ceccbcd0956f7b7d1799af1e357d81ed79 /drivers/clk
parentd496aab567e7e52b3e974c9192a5de6e77dce32c (diff)
downloadlinux-fsl-qoriq-36c3e75907c8cb515fad260190ca1beb7e53df96.tar.xz
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 <axel.lin@gmail.com> Cc: Michael Hennerich <michael.hennerich@analog.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions