Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166399
b: refs/heads/master
c: 4be7300
h: refs/heads/master
i:
  166397: b7d8870
  166395: df74d9b
  166391: 33f4954
  166383: d6cffc8
  166367: 0f72d85
  166335: 4323e55
  166271: 06fccff
  166143: e264567
  165887: 0599574
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Sep 20, 2009
1 parent e254974 commit 6aa0b1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 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: 435c47e20bc212d0fa6652ac93fae8eaee7b9b34
refs/heads/master: 4be73005e4dcf111fa88f7265ed147e2de38b075
18 changes: 8 additions & 10 deletions trunk/drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2843,16 +2843,14 @@ static void hotkey_exit(void)

kfree(hotkey_keycode_map);

if (tp_features.hotkey) {
dbg_printk(TPACPI_DBG_EXIT | TPACPI_DBG_HKEY,
"restoring original hot key mask\n");
/* no short-circuit boolean operator below! */
if ((hotkey_mask_set(hotkey_orig_mask) |
hotkey_status_set(false)) != 0)
printk(TPACPI_ERR
"failed to restore hot key mask "
"to BIOS defaults\n");
}
dbg_printk(TPACPI_DBG_EXIT | TPACPI_DBG_HKEY,
"restoring original hot key mask\n");
/* no short-circuit boolean operator below! */
if (((tp_features.hotkey_mask && hotkey_mask_set(hotkey_orig_mask))
| hotkey_status_set(false)) != 0)
printk(TPACPI_ERR
"failed to restore hot key mask "
"to BIOS defaults\n");
}

static void __init hotkey_unmap(const unsigned int scancode)
Expand Down

0 comments on commit 6aa0b1a

Please sign in to comment.