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)
commitb253c9d1d858a3f115f791ee4fe2b9399ae7dbbd
tree95bf736f6c5ab8e90e3af82d6f46425606990d8a
parentd2b4a646717153a1a180b64d4a8464054dbd700e
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