platform/x86: huawei-wmi: Add fn-lock support
authorAyman Bagabas <ayman.bagabas@gmail.com>
Tue, 24 Sep 2019 02:48:10 +0000 (22:48 -0400)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Oct 2019 07:55:09 +0000 (10:55 +0300)
commit32e59d119d718cc5eb3ede488638e079c626d6da
tree420317ce7b37ae0543b594556049780f1db19344
parent355a070b09ab1f29f36447c91cde3e6fd07775e0
platform/x86: huawei-wmi: Add fn-lock support

Huawei Matebook laptops uses Fn key and toggle to access F1-F12 keys.
Along with that, there is this feature called fn-lock that inverts the
behavior of this Fn key and the F1-F12 row.

Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/huawei-wmi.c