From: Mark Brown Date: Mon, 30 Jul 2012 17:24:19 +0000 (+0100) Subject: ASoC: wm8962: Allow VMID time to fully ramp X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d40e5582c9c4cfb6977ba2a0ca9c2ed82c56f21;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: wm8962: Allow VMID time to fully ramp Required for reliable power up from cold. Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index eaf65863ec21..aa9ce9dd7d8a 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -2501,6 +2501,9 @@ static int wm8962_set_bias_level(struct snd_soc_codec *codec, /* VMID 2*250k */ snd_soc_update_bits(codec, WM8962_PWR_MGMT_1, WM8962_VMID_SEL_MASK, 0x100); + + if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) + msleep(100); break; case SND_SOC_BIAS_OFF: