]> git.baikalelectronics.ru Git - kernel.git/commit
HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Oct 2021 16:33:30 +0000 (18:33 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 19 Nov 2021 14:47:38 +0000 (15:47 +0100)
commitd40929829fd3ffc318882539617d1cb4e6fe7b56
tree66de6283a430b14707146fd0e140efb7cd8d3a52
parent26f91d0c830687d9b2f406b604e0e1e932c46527
HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields

Fix parsing of HID_CP_CONSUMER_CONTROL fields which are not in
the HID_CP_PROGRAMMABLEBUTTONS collection.

Fixes: b375ba7023f6 ("HID: input: Add support for Programmable Buttons")
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2018096
Cc: Thomas Weißschuh <linux@weissschuh.net>
Suggested-by: Benjamin Tissoires <btissoir@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-By: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c