summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/nau8825.h
diff options
context:
space:
mode:
authorDavid Lin <CTLIN0@nuvoton.com>2023-04-14 13:39:44 +0300
committerMark Brown <broonie@kernel.org>2023-04-14 14:58:30 +0300
commitfc0b096c92918c2ba4d76411ea763fdeb2ef6b0d (patch)
treef2550aa87d28f451e46c7d11342aa072b01276b0 /sound/soc/codecs/nau8825.h
parentc26c5921e1a770e6c092c4d25dea19052bdfddab (diff)
downloadlinux-fc0b096c92918c2ba4d76411ea763fdeb2ef6b0d.tar.xz
ASoC: nau8825: Add delay control for input path
Change the original fixed delay to the assignment from property. It will make more flexible to different platforms for avoiding pop noise at the beginning of recording. Signed-off-by: David Lin <CTLIN0@nuvoton.com> Link: https://lore.kernel.org/r/20230414103941.39566-2-CTLIN0@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/nau8825.h')
-rw-r--r--sound/soc/codecs/nau8825.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8825.h b/sound/soc/codecs/nau8825.h
index 0c3a446e0e1a..44b62bc3880f 100644
--- a/sound/soc/codecs/nau8825.h
+++ b/sound/soc/codecs/nau8825.h
@@ -517,6 +517,7 @@ struct nau8825 {
int xtalk_enable;
bool xtalk_baktab_initialized; /* True if initialized. */
bool adcout_ds;
+ int adc_delay;
};
int nau8825_enable_jack_detect(struct snd_soc_component *component,