summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/nau8821.h
diff options
context:
space:
mode:
authorSeven Lee <wtli@nuvoton.com>2024-04-15 10:06:48 +0300
committerMark Brown <broonie@kernel.org>2024-04-21 03:57:09 +0300
commitb37fdd42c00904afa11d9a8eb80e098429b894b3 (patch)
tree914eeef692a612d7f0045cb46500042fb7c0da52 /sound/soc/codecs/nau8821.h
parent467d2528d64e8fcf784850ac94f665efae2af149 (diff)
downloadlinux-b37fdd42c00904afa11d9a8eb80e098429b894b3.tar.xz
ASoC: nau8821: Add delay control for ADC
Change the original fixed delay to the assignment from the property. It will make it more flexible to different platforms to avoid pop noise at the beginning of recording. Signed-off-by: Seven Lee <wtli@nuvoton.com> Link: https://lore.kernel.org/r/20240415070649.3496487-3-wtli@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/nau8821.h')
-rw-r--r--sound/soc/codecs/nau8821.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8821.h b/sound/soc/codecs/nau8821.h
index 62eaad130b2e..f0935ffafcbe 100644
--- a/sound/soc/codecs/nau8821.h
+++ b/sound/soc/codecs/nau8821.h
@@ -577,6 +577,7 @@ struct nau8821 {
int dmic_clk_threshold;
int dmic_slew_rate;
int key_enable;
+ int adc_delay;
};
int nau8821_enable_jack_detect(struct snd_soc_component *component,