]> git.baikalelectronics.ru Git - kernel.git/commit
ideapad-laptop: add a new WMI string for ESC key
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 May 2016 21:49:21 +0000 (23:49 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 27 May 2016 18:47:54 +0000 (11:47 -0700)
commit809ee7fd7dbe7d8d641d208038ff9f1ba2952bb0
tree7a10300ecf7f65d9aaa7d90e4c24204eb40214e9
parent75c7c3721ba1ec068d183e9c408f53fd213491d0
ideapad-laptop: add a new WMI string for ESC key

My patch to the ideapad-laptop driver to get the ESC key working on the
Yoga 1170 (Yoga 3) failed to do the same for the following model, the
Lenovo Yoga 700.

Denis Gordienko managed to get it working by adding another GUID for the
new WMI interface. I have adapted his patch to normal coding style
and simplified it a bit for inclusion, but this patch is currently
untested.

Link: https://forums.lenovo.com/t5/Lenovo-Yoga-Series-Notebooks/YOGA-3-14-How-to-reclaim-my-Esc-key-and-permanently-disable/m-p/3317499
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Denis Gordienko <denis.gordienko.mail@gmail.com>
[dvhart: Whitespace cleanup, static const char *const array declaration]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c