Commit e1af14e4 authored by Roel Kluin's avatar Roel Kluin Committed by Len Brown

asus-laptop: add parentheses

'!' has a higher priority than '&': bitanding has no effect.
Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent f8d1c94b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment