]> Pileus Git - ~andy/linux/blobdiff - sound/soc/codecs/wm8993.c
ASoC: wm_hubs: Improve single ended line output enable performance
[~andy/linux] / sound / soc / codecs / wm8993.c
index ab4685a8a570cb163c1359f3c30bd52d27b0e88f..1e69f63ede26e28a2b04c3e95465b74a71e475df 100644 (file)
@@ -1058,6 +1058,8 @@ static int wm8993_set_bias_level(struct snd_soc_codec *codec,
        struct wm8993_priv *wm8993 = snd_soc_codec_get_drvdata(codec);
        int ret;
 
+       wm_hubs_set_bias_level(codec, level);
+
        switch (level) {
        case SND_SOC_BIAS_ON:
        case SND_SOC_BIAS_PREPARE:
@@ -1078,6 +1080,8 @@ static int wm8993_set_bias_level(struct snd_soc_codec *codec,
                        regcache_cache_only(wm8993->regmap, false);
                        regcache_sync(wm8993->regmap);
 
+                       wm_hubs_vmid_ena(codec);
+
                        /* Bring up VMID with fast soft start */
                        snd_soc_update_bits(codec, WM8993_ANTIPOP2,
                                            WM8993_STARTUP_BIAS_ENA |