diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-02-02 20:07:38 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 05:42:08 (GMT) |
commit | e1af14e4b3d5f2a348987e3069ec835b782782b0 (patch) | |
tree | e1f984157585f5ee0a898c4438c559db1bff3df2 /drivers/misc | |
parent | f8d1c94b346b62747322728e00e11f552cd90902 (diff) | |
download | linux-e1af14e4b3d5f2a348987e3069ec835b782782b0.tar.xz |
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/asus-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static void write_status(acpi_handle handle, int out, int mask) switch (mask) { case MLED_ON: - out = !out & 0x1; + out = !(out & 0x1); break; case GLED_ON: out = (out & 0x1) + 1; |