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:42:58 +0000 (09:42 +0200)
commit345afadf16eb84f71f7678a7fb2ceec715fea998
tree3fe0d009738a3b2616e7e495bdf578cfb299f942
parente11e70c5089205ce3468e1d4423b8946ecaa34b8
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