diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 72d731c21d45..2b883470a9d0 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c | |||
@@ -411,7 +411,7 @@ static int kbd_led_read(struct asus_wmi *asus, int *level, int *env) | |||
411 | 411 | ||
412 | if (retval >= 0) { | 412 | if (retval >= 0) { |
413 | if (level) | 413 | if (level) |
414 | *level = retval & 0x80 ? retval & 0x7F : 0; | 414 | *level = retval & 0x7F; |
415 | if (env) | 415 | if (env) |
416 | *env = (retval >> 8) & 0x7F; | 416 | *env = (retval >> 8) & 0x7F; |
417 | retval = 0; | 417 | retval = 0; |