mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
ASoC: nau8825: fix issue that pop noise when start capture
[ Upstream commit d070f7c703
]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3cf652bedc
commit
56d80186a5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue