platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
authorAleh Filipovich <aleh@vaolix.com>
Fri, 10 Aug 2018 20:07:25 +0000 (22:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:40:38 +0000 (09:40 +0200)
commitad09041e9335398ab36fcaaf50fa3c4e7b8a29f7
tree3338761f328b3b6e51faca0f9467ed4022f0975f
parenta429a299eb4836e03d40683d7cc723b07d3ad6bd
platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360

[ Upstream commit 880b29ac107d15644bf4da228376ba3cd6af6d71 ]

Add entry to WMI keymap for lid flip event on Asus UX360.

On Asus Zenbook ux360 flipping lid from/to tablet mode triggers
keyscan code 0xfa which cannot be handled and results in kernel
log message "Unknown key fa pressed".

Signed-off-by: Aleh Filipovich<aleh@appnexus.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/asus-nb-wmi.c