mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-07 23:45:36 +00:00
The rt5682 codec is able to distinguish between two event types: headphone insertion/removal and headset microphone insertion/removal. However, currently, the mt8192-mt6359 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@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220922235951.252532-2-nfraprado@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| mt8192-afe-clk.c | ||
| mt8192-afe-clk.h | ||
| mt8192-afe-common.h | ||
| mt8192-afe-control.c | ||
| mt8192-afe-gpio.c | ||
| mt8192-afe-gpio.h | ||
| mt8192-afe-pcm.c | ||
| mt8192-dai-adda.c | ||
| mt8192-dai-i2s.c | ||
| mt8192-dai-pcm.c | ||
| mt8192-dai-tdm.c | ||
| mt8192-interconnection.h | ||
| mt8192-mt6359-rt1015-rt5682.c | ||
| mt8192-reg.h | ||