ASoC: nau8821: Add delay control for ADC
authorSeven Lee <wtli@nuvoton.com>
Mon, 15 Apr 2024 07:06:48 +0000 (15:06 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 21 Apr 2024 00:57:09 +0000 (09:57 +0900)
commitb37fdd42c00904afa11d9a8eb80e098429b894b3
tree914eeef692a612d7f0045cb46500042fb7c0da52
parent467d2528d64e8fcf784850ac94f665efae2af149
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>
sound/soc/codecs/nau8821.c
sound/soc/codecs/nau8821.h