OSDN Git Service

ASoC: nau8825: Add a manually mechanism for detection failure
authorDavid Lin <CTLIN0@nuvoton.com>
Tue, 22 Nov 2022 07:38:56 +0000 (15:38 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2022 12:23:14 +0000 (12:23 +0000)
commit7a37265046618b890adf7d7a1f9f1f5fbae908a7
treefb00305e81d93a63a8b17f2899f5c112af044b67
parentfa0fb0738e9c412d3c4a9fe655948ac9a87c6274
ASoC: nau8825: Add a manually mechanism for detection failure

This patch is to use saradc to check the jack type when auto
detection is still failure.

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Link: https://lore.kernel.org/r/20221122073855.43024-2-CTLIN0@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c
sound/soc/codecs/nau8825.h