]> 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)
commit5d9adba0965bae82034cddb43da787b654672780
tree7a10300ecf7f65d9aaa7d90e4c24204eb40214e9
parent99a46efe76566298a60774e1727951e43d4e0f7f
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