Skip to content

Commit

Permalink
ASoC: wm8994: Move wm_hubs callback before we start ramping VMID
Browse files Browse the repository at this point in the history
Allows the generic code to set up for that.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 21, 2012
1 parent 1ec1cdf commit f708564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ static void vmid_reference(struct snd_soc_codec *codec)
WM8994_LINEOUT2_DISCH,
WM8994_LINEOUT_VMID_BUF_ENA);

wm_hubs_vmid_ena(codec);

/* Startup bias, VMID ramp & buffer */
snd_soc_update_bits(codec, WM8994_ANTIPOP_2,
WM8994_BIAS_SRC |
Expand All @@ -796,8 +798,6 @@ static void vmid_reference(struct snd_soc_codec *codec)
WM8994_VMID_BUF_ENA |
(0x2 << WM8994_VMID_RAMP_SHIFT));

wm_hubs_vmid_ena(codec);

/* Main bias enable, VMID=2x40k */
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_1,
WM8994_BIAS_ENA |
Expand Down

0 comments on commit f708564

Please sign in to comment.