Commit 9d40e558 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8962: Allow VMID time to fully ramp



Required for reliable power up from cold.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
parent d0e3cce9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: