]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: mediatek: mt8186-rt5682: Add headset widgets with switches
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 22 Sep 2022 23:59:50 +0000 (19:59 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 12:56:09 +0000 (13:56 +0100)
commitd888e7afa03f06d8091ecdd43f87d5396dfbf907
tree5266b277876ac6ac4ee7bd924e7ecfef4b5c1ca6
parent8e986748680629a82398c65da0c5bda4c6a01b3d
ASoC: mediatek: mt8186-rt5682: Add headset widgets with switches

Add DAPM widgets for headphones and headset microphone, with matching
switches, to allow toggling these paths based on the jack connection
status.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220922235951.252532-6-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c