summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8350.c2
-rw-r--r--sound/soc/imx/wm1133-ev1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index ff6c10155ee..fb1005edee7 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1475,8 +1475,6 @@ int wm8350_mic_jack_detect(struct snd_soc_codec *codec,
wm8350_set_bits(wm8350, WM8350_POWER_MGMT_4, WM8350_TOCLK_ENA);
wm8350_set_bits(wm8350, WM8350_POWER_MGMT_1, WM8350_MIC_DET_ENA);
- snd_soc_dapm_force_enable_pin(codec, "Mic Bias");
-
return 0;
}
EXPORT_SYMBOL_GPL(wm8350_mic_jack_detect);
diff --git a/sound/soc/imx/wm1133-ev1.c b/sound/soc/imx/wm1133-ev1.c
index cec8bae7ac1..a6e7d949763 100644
--- a/sound/soc/imx/wm1133-ev1.c
+++ b/sound/soc/imx/wm1133-ev1.c
@@ -234,6 +234,8 @@ static int wm1133_ev1_init(struct snd_soc_codec *codec)
wm8350_mic_jack_detect(codec, &mic_jack, SND_JACK_MICROPHONE,
SND_JACK_BTN_0);
+ snd_soc_dapm_force_enable_pin(codec, "Mic Bias");
+
return 0;
}