diff options
-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 34666ff60d37..3bd883166e3d 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) | |||
327 | 327 | ||
328 | switch (mask) { | 328 | switch (mask) { |
329 | case MLED_ON: | 329 | case MLED_ON: |
330 | out = !out & 0x1; | 330 | out = !(out & 0x1); |
331 | break; | 331 | break; |
332 | case GLED_ON: | 332 | case GLED_ON: |
333 | out = (out & 0x1) + 1; | 333 | out = (out & 0x1) + 1; |