[alsa-devel] [PATCH 03/11] ucm: docs: add value JackSwitch
Jaroslav Kysela
perex at perex.cz
Mon Nov 11 14:30:03 CET 2019
Dne 07. 11. 19 v 2:58 Curtis Malainey napsal(a):
> Identifies event code that will be sent by the device on an jack detect
> event
>
> Signed-off-by: Curtis Malainey <cujomalainey at chromium.org>
> ---
> include/use-case.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/use-case.h b/include/use-case.h
> index 3208cc30..a79e5b91 100644
> --- a/include/use-case.h
> +++ b/include/use-case.h
> @@ -322,6 +322,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
> * configuration that doesn't belong to UCM configuration files.
> * - JackName
> * - Input name is the input device name for the jack
> + * - JackSwitch
> + * - The type of event code the jack will send, corresponds to
> + * Switch Events in include/uapi/linux/input-event-codes.h in the kernel
> * - JackType
> * - Specifies whether the jack is accessed via hctl or gpio and therefore
> * only carries the possible values of "gpio" or "hctl"
>
It's a string or hexa value or so? It requires a better description.
Jaroslav
--
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list