Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: sgtl5000: fix VAG power up timing

When power up, a "pop" is heard on line-in and mic-in.
An analysis of the PCM shows it lasts ~400ms
and looks like a filter response.
VAG power up should be delayed by 400ms as VAG power down is.

Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jean-Michel Hautbois and committed by
Mark Brown
c803cc2d 8005c49d

+1
+1
sound/soc/codecs/sgtl5000.c
··· 189 189 case SND_SOC_DAPM_POST_PMU: 190 190 snd_soc_update_bits(codec, SGTL5000_CHIP_ANA_POWER, 191 191 SGTL5000_VAG_POWERUP, SGTL5000_VAG_POWERUP); 192 + msleep(400); 192 193 break; 193 194 194 195 case SND_SOC_DAPM_PRE_PMD: