From: Axel Lin Date: Fri, 20 Jan 2012 22:34:05 +0000 (-0800) Subject: drivers/video/backlight/adp88x0_bl.c: fix bit testing logic X-Git-Tag: v3.3-rc2~46^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c3e75907c8cb515fad260190ca1beb7e53df96;p=pandora-kernel.git 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 Cc: Michael Hennerich Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed