ASoC: codecs: ES8326: Update jact detection function
authorZhu Ning <zhuning0077@gmail.com>
Mon, 17 Jul 2023 03:32:23 +0000 (11:32 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jul 2023 11:11:54 +0000 (12:11 +0100)
commit04f96c9340463aae20d2511a3d6cb0b005b07d24
tree073d9dde5111cb5505b0cc1a1f061f7e5e213476
parent0663286e58e6f611f3578b5e63e1faa576d139fd
ASoC: codecs: ES8326: Update jact detection function

The old jack detection function only supports fixed OMTP/CTIA
hardware connection. The new one supports auto OMTP/CTIA
headset detection

Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://lore.kernel.org/r/20230717033223.42506-5-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c