HID: cmedia: add support for HS-100B mute button
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 20 Jul 2021 20:27:08 +0000 (22:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 28 Jul 2021 09:51:07 +0000 (11:51 +0200)
commitbebf8820b355e6ac00487f3f36440d502eb4a44c
tree5f4da48bd7a39e05a7c6222057be98293387e46e
parentdf04fbe8680bfe07f3d7487eccff9f768bb02533
HID: cmedia: add support for HS-100B mute button

These chips report mute button events in bit 4 of their report without it
being part of the report descriptor.
Use a custom descriptor that maps this bit.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-cmedia.c
drivers/hid/hid-ids.h