Skip to contentSkip to conversation

ASoC: wm8962: Allow VMID time to fully ramp

PATCH New Mark Brown 1 participant 1 message Jul 30, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: wm8962: Allow VMID time to fully ramp

Required for reliable power up from cold.

---
 sound/soc/codecs/wm8962.c |    3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/wm8962.c +3 -0
index 6c67950..b56f699 100644
@@ -2503,6 +2503,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:
Signature · 1 line
1.7.10.4