Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
ASoC: wm8962: Allow VMID time to fully ramp
Browse files Browse the repository at this point in the history
commit 9d40e55 upstream.

Required for reliable power up from cold.

Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
broonie authored and gregkh committed Aug 9, 2012
1 parent 7dcb3c5 commit 9966af8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -2488,6 +2488,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:
Expand Down

0 comments on commit 9966af8

Please sign in to comment.