ASoC: nau8825: Adjust internal clock during jack detection
authorDavid Lin <CTLIN0@nuvoton.com>
Tue, 22 Nov 2022 07:38:55 +0000 (15:38 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2022 12:23:13 +0000 (12:23 +0000)
commitfa0fb0738e9c412d3c4a9fe655948ac9a87c6274
tree7767b6b1728bec2c8d30551c32405566ae3f54bc
parenta9248c868c39440369c614598b2465d1a1b1cf62
ASoC: nau8825: Adjust internal clock during jack detection

This patch is to rasie up internal clock during jack detection.
The fast clock will accelerate charge and discharge effect.
So this mechanism will make jack detection more robust.

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