[PATCH 2/6] ASoC: mediatek: mt8195: Expose individual headset jack pins
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri Sep 23 01:58:13 PDT 2022
Il 23/09/22 01:59, Nícolas F. R. A. Prado ha scritto:
> The rt5682 codec is able to distinguish between two event types:
> headphone insertion/removal and headset microphone insertion/removal.
> However, currently, the mt8195 ASoC driver exposes a single kcontrol
> for the headset jack, so userspace isn't able to differentiate between
> the two events.
>
> Add a definition for the headset jack pins, so that a separate jack
> kcontrol is created for each one, allowing userspace to track and handle
> them individually.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
>
Nit: for the title... ASoC: mediatek: mt8195-mt6359: ....
Apart from that,
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
[On MT8195 Cherry Tomato Chromebook]
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list