On Mo, 2021-07-19T13:09+0200, Thomas Weißschuh wrote:
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>
---
v1: https://lore.kernel.org/linux-input/a769ae40-6d0c-47c4-803f-2c8dbc362f24@t-8ch.de/ (local)
v1 -> v2:
* Merged into the existing cmedia driver instead of creating a dedicated
driver.
v2: https://lore.kernel.org/linux-input/20210716160659.154779-1-linux@weissschuh.net/ (local)
v2 -> v3:
* Fixed cosmetic checkpatch warnings
* CC-ed Ben Chen who is the original author of hid-cmedia.c
drivers/hid/Kconfig | 5 +-
drivers/hid/hid-cmedia.c | 99 +++++++++++++++++++++++++++++++++++-----
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-quirks.c | 1 +
4 files changed, 93 insertions(+), 13 deletions(-)
FYI:
The Mail to Ben bounced, so we will probably have to do without his review.
Thomas