]> 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)
commit2d98e0b942dd5ac359ced5183b4a5a769620380f
tree7a10300ecf7f65d9aaa7d90e4c24204eb40214e9
parente27ffe7e41b1dc747fd1d32d52f7453137f89ed9
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