Commit f7085641 authored by Mark Brown's avatar Mark Brown

ASoC: wm8994: Move wm_hubs callback before we start ramping VMID

Allows the generic code to set up for that.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1ec1cdfb
...@@ -784,6 +784,8 @@ static void vmid_reference(struct snd_soc_codec *codec) ...@@ -784,6 +784,8 @@ static void vmid_reference(struct snd_soc_codec *codec)
WM8994_LINEOUT2_DISCH, WM8994_LINEOUT2_DISCH,
WM8994_LINEOUT_VMID_BUF_ENA); WM8994_LINEOUT_VMID_BUF_ENA);
wm_hubs_vmid_ena(codec);
/* Startup bias, VMID ramp & buffer */ /* Startup bias, VMID ramp & buffer */
snd_soc_update_bits(codec, WM8994_ANTIPOP_2, snd_soc_update_bits(codec, WM8994_ANTIPOP_2,
WM8994_BIAS_SRC | WM8994_BIAS_SRC |
...@@ -796,8 +798,6 @@ static void vmid_reference(struct snd_soc_codec *codec) ...@@ -796,8 +798,6 @@ static void vmid_reference(struct snd_soc_codec *codec)
WM8994_VMID_BUF_ENA | WM8994_VMID_BUF_ENA |
(0x2 << WM8994_VMID_RAMP_SHIFT)); (0x2 << WM8994_VMID_RAMP_SHIFT));
wm_hubs_vmid_ena(codec);
/* Main bias enable, VMID=2x40k */ /* Main bias enable, VMID=2x40k */
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_1, snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_1,
WM8994_BIAS_ENA | WM8994_BIAS_ENA |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment