diff options
author | Abhijeet Kumar <abhijeet.kumar@intel.com> | 2017-12-12 00:40:25 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-19 10:52:49 +0000 |
commit | d070f7c703ef26e3db613f24206823f916272fc6 (patch) | |
tree | 3c69d011b60bd1da89a42db4558baac395791435 /sound/soc | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | blackbird-obmc-linux-d070f7c703ef26e3db613f24206823f916272fc6.tar.gz blackbird-obmc-linux-d070f7c703ef26e3db613f24206823f916272fc6.zip |
ASoC: nau8825: fix issue that pop noise when start capture
In skylake platform, we hear a loud pop noise(0 dB) at start of
audio capture power up sequence. This patch removes the pop noise
from the recording by adding a delay before enabling ADC.
Signed-off-by: Abhijeet Kumar <abhijeet.kumar@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/nau8825.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8825.c b/sound/soc/codecs/nau8825.c index 714ce17da717..e853a6dfd33b 100644 --- a/sound/soc/codecs/nau8825.c +++ b/sound/soc/codecs/nau8825.c @@ -905,6 +905,7 @@ static int nau8825_adc_event(struct snd_soc_dapm_widget *w, switch (event) { case SND_SOC_DAPM_POST_PMU: + msleep(125); regmap_update_bits(nau8825->regmap, NAU8825_REG_ENA_CTRL, NAU8825_ENABLE_ADC, NAU8825_ENABLE_ADC); break; |