platform/x86: intel-hid: Support 5 button array
authorAlex Hung <[email protected]>
Tue, 14 Feb 2017 07:20:34 +0000 (15:20 +0800)
committerDarren Hart <[email protected]>
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 <[email protected]>
Reviewed-by: Michał Kępień <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
drivers/platform/x86/intel-hid.c