]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: Adding new hotkey ID for Lenovo thinkpad
authorHui Wang <hui.wang@canonical.com>
Tue, 8 Nov 2016 08:13:23 +0000 (16:13 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:29:07 +0000 (09:29 -0800)
commitb311ee370bea54746171834c7a44fe5a6259109c
treefa0e79e1cbe474e569a6c326c550fd45aafe54bf
parent84b072b1a8bfc37a7652d6f01d673afcb4950f67
platform/x86: thinkpad_acpi: Adding new hotkey ID for Lenovo thinkpad

Recently we met an issue on lots of Lenovo thinkpad laptops (those
laptops are not released to market yet), the issue is that the
thinkpad_acpi.ko can't be automatically loaded as before.

Through debugging, we found the HKEY_HID is LEN0268 instead of
LEN0068 on those machines, and the MHKV is 0x200 instead of
0x100. So adding the new ID into the driver.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c