]> Pileus Git - ~andy/linux/blobdiff - sound/soc/codecs/wm8994.c
ASoC: wm_hubs: Improve single ended line output enable performance
[~andy/linux] / sound / soc / codecs / wm8994.c
index e6eebf747927d3d6dd5378297a212524ad7bde86..21931a0c7cea7bd11570efdcd102e0f8b0fd70b0 100644 (file)
@@ -787,6 +787,8 @@ static void vmid_reference(struct snd_soc_codec *codec)
                                    WM8994_VMID_BUF_ENA |
                                    (0x3 << WM8994_VMID_RAMP_SHIFT));
 
+               wm_hubs_vmid_ena(codec);
+
                /* Remove discharge for line out */
                snd_soc_update_bits(codec, WM8994_ANTIPOP_1,
                                    WM8994_LINEOUT1_DISCH |
@@ -2074,6 +2076,8 @@ static int wm8994_set_bias_level(struct snd_soc_codec *codec,
        struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
        struct wm8994 *control = wm8994->wm8994;
 
+       wm_hubs_set_bias_level(codec, level);
+
        switch (level) {
        case SND_SOC_BIAS_ON:
                break;
@@ -2168,6 +2172,7 @@ static int wm8994_set_bias_level(struct snd_soc_codec *codec,
                        wm8994->cur_fw = NULL;
                break;
        }
+
        codec->dapm.bias_level = level;
 
        return 0;