commit | e1af14e4b3d5f2a348987e3069ec835b782782b0 | [log] [tgz] |
---|---|---|
author | Roel Kluin <12o3l@tiscali.nl> | Sat Feb 02 21:07:38 2008 +0100 |
committer | Len Brown <len.brown@intel.com> | Thu Feb 07 00:42:08 2008 -0500 |
tree | e1f984157585f5ee0a898c4438c559db1bff3df2 | |
parent | f8d1c94b346b62747322728e00e11f552cd90902 [diff] [blame] |
asus-laptop: add parentheses '!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Len Brown <len.brown@intel.com>
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index 34666ff..3bd8831 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/misc/asus-laptop.c
@@ -327,7 +327,7 @@ switch (mask) { case MLED_ON: - out = !out & 0x1; + out = !(out & 0x1); break; case GLED_ON: out = (out & 0x1) + 1;