OSDN Git Service

ASoC: codec: wcd938x: Add switch control for selecting CTIA/OMTP Headset
authorSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Sat, 12 Feb 2022 12:24:31 +0000 (17:54 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 14:52:29 +0000 (14:52 +0000)
commit013cc2aea0f62f864c8497b8497299bed4a248fb
tree5000eb6cb3f721b4401720f1f9a77f4179fe3b7b
parente7c799e76f070b4ac13498e532574466064ad6a5
ASoC: codec: wcd938x: Add switch control for selecting CTIA/OMTP Headset

Add switch control for selecting CTIA or OMTP Headset by swapping
gnd and mic with the help of GPIO.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Link: https://lore.kernel.org/r/1644668672-29790-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd938x.c