Re: [PATCH v3] HID: cmedia: add support for HS-100B mute button

From: Thomas Weißschuh
Date: Mon Jul 19 2021 - 07:25:07 EST


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@xxxxxxxxxxxxxx>
> ---
> v1: https://lore.kernel.org/linux-input/a769ae40-6d0c-47c4-803f-2c8dbc362f24@xxxxxxxx/
>
> 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@xxxxxxxxxxxxxx/
>
> 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