Re: [PATCH v2 1/1] Support for CMedia CM6533 HID audio jack controls

From: Jiri Kosina
Date: Thu Jan 21 2016 - 08:08:34 EST


On Wed, 30 Dec 2015, Ben Chen wrote:

> The C-Media CM6533 is a USB audio chip featuring it's jack detection capability.The device originates an interrupt transfer via HID interface each time when a jack event occurs.
> The purpose of this patch is to handle hid raw events to keep the operating system informed of user interactions.
>
> Signed-off-by: Ben Chen <ben_chen@xxxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - The return type of input_configured callback has been changed from void to be int.
>
> drivers/hid/Kconfig | 6 ++
> drivers/hid/Makefile | 1 +
> drivers/hid/hid-cm6533.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++

We usually name the drivers according to the vendor name. IOW, I'd suggest
you rename the driver to hid-cmedia.

Thanks,

--
Jiri Kosina
SUSE Labs