]> git.baikalelectronics.ru Git - kernel.git/commit
Input: soc_button_array - add usage-page 0x01 usage-id 0xca mapping
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Jan 2019 02:09:39 +0000 (18:09 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Jan 2019 19:16:23 +0000 (11:16 -0800)
commitdff89e9a2fa1669d788f7f5d2a6f02aea00be56b
tree515e8830665fae550d62d05b9f1920ab066fe73f
parenta88a535c14ba8824dee320c7fe35e46f9af766a4
Input: soc_button_array - add usage-page 0x01 usage-id 0xca mapping

The ACPI0011 _DSD button descriptor on a CHT based Intel Compute Sticks
contains a mapping for usage-page 0x01 usage-id 0xca.

As described in hutrr52_system_display_rotation_lock_controls_0.pdf this
should be mapped as a "System Display Rotation Lock Slider Switch", this
commit adds support for this, silencing the following warning:

soc_button_array ACPI0011:00: Unknown button index 4 upage 01 usage ca,
ignoring

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/soc_button_array.c