platform/x86: intel-hid: Support 5 button array
authorAlex Hung <alex.hung@canonical.com>
Tue, 14 Feb 2017 07:20:34 +0000 (15:20 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 25 Feb 2017 07:48:53 +0000 (23:48 -0800)
commitbd5762a0c1c9ae66bd0ece6959bbc5013ab95dcd
tree8e298fac711dcd779abbd08ee058c475c51e9cd9
parentc685e20df5cfa11cee0954be70456872c4f670f0
platform/x86: intel-hid: Support 5 button array

New firmwares include a feature called 5 button array that supports
super key, volume up/down, rotation lock and power button. Support
for this feature is required to fix power button on some recent
systems.

This patch was tested on a Dell Latitude 7480.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Reviewed-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel-hid.c