Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262603
b: refs/heads/master
c: af965e9
h: refs/heads/master
i:
  262601: 154ce48
  262599: 2758300
v: v3
  • Loading branch information
Corentin Chary authored and Matthew Garrett committed Aug 5, 2011
1 parent 4fa9e95 commit dec2944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fe8c25ef92ffc773a49c4b0dab2938a6fd64489
refs/heads/master: af965e973276b015d1b7d9ee78ed8d8df9d6bc98
3 changes: 2 additions & 1 deletion trunk/drivers/platform/x86/asus-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,9 @@ static int kbd_led_read(struct asus_wmi *asus, int *level, int *env)
retval = asus_wmi_get_devstate_bits(asus, ASUS_WMI_DEVID_KBD_BACKLIGHT,
0xFFFF);

/* Unknown status is considered as off */
if (retval == 0x8000)
retval = -ENODEV;
retval = 0;

if (retval >= 0) {
if (level)
Expand Down

0 comments on commit dec2944

Please sign in to comment.