summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8350.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-22 14:48:36 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-22 18:21:38 +0100
commit2f14430af52fff08ed1987a3cee612e133a6b82f (patch)
tree3d92ac909c743ac7cef98c36287ff094b0e1b900 /sound/soc/codecs/wm8350.c
parentASoC: Allow force enabled pins to be disabled (diff)
downloadlinux-2f14430af52fff08ed1987a3cee612e133a6b82f.tar.xz
linux-2f14430af52fff08ed1987a3cee612e133a6b82f.zip
ASoC: Move WM8350 microphone detection bias managment out of driver
Allow machines to control exactly when the bias is turned on and off. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8350.c')
-rw-r--r--sound/soc/codecs/wm8350.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index ff6c10155ee6..fb1005edee79 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);