]> git.baikalelectronics.ru Git - kernel.git/commit
hp-wmi: Enable hotkeys on some systems
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 8 Jul 2013 15:44:40 +0000 (11:44 -0400)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 8 Jul 2013 15:44:40 +0000 (11:44 -0400)
commit41eea730e8cedcf25c797e28eba5ac47154066bc
tree95bf736f6c5ab8e90e3af82d6f46425606990d8a
parent169e6af4049c5c0db29cca298780ed7449611616
hp-wmi: Enable hotkeys on some systems

Kyle Evans discovered that he needed to set some bits in an EC register in
order to receive hotkey events. Doing so blindly broke some otherwise
working HP laptops. It turns out that there's a WMI call that accesses
the same register, so let's try calling that instead.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Cc: Kyle Evans <kvans32@gmail.com>
drivers/platform/x86/hp-wmi.c