]> 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)
commit8c28c8f2611681c0f09ff60dc950414c913da55e
tree95bf736f6c5ab8e90e3af82d6f46425606990d8a
parent5ba6b164cf93c7da31dc6b06711b62ecef942b67
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