summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8985.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-27 09:47:40 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-31 19:06:35 +0000
commit812f8a3524b9d369a170428acec79c57786d4670 (patch)
treedcd7c0ead44d9efc3d9cde5e2645c8e3d1a0ff7c /sound/soc/codecs/wm8985.c
parentbe48f20d8fe2e4c5998f38dd71c79f97c6fced4c (diff)
downloadop-kernel-dev-812f8a3524b9d369a170428acec79c57786d4670.zip
op-kernel-dev-812f8a3524b9d369a170428acec79c57786d4670.tar.gz
ASoC: Convert wm8985 MICBIAS to a supply widget
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8985.c')
-rw-r--r--sound/soc/codecs/wm8985.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index bae510a..36c4ee0 100644
--- a/sound/soc/codecs/wm8985.c
+++ b/sound/soc/codecs/wm8985.c
@@ -411,7 +411,8 @@ static const struct snd_soc_dapm_widget wm8985_dapm_widgets[] = {
SND_SOC_DAPM_PGA("Right Speaker Out", WM8985_POWER_MANAGEMENT_3,
6, 0, NULL, 0),
- SND_SOC_DAPM_MICBIAS("Mic Bias", WM8985_POWER_MANAGEMENT_1, 4, 0),
+ SND_SOC_DAPM_SUPPLY("Mic Bias", WM8985_POWER_MANAGEMENT_1, 4, 0,
+ NULL, 0),
SND_SOC_DAPM_INPUT("LIN"),
SND_SOC_DAPM_INPUT("LIP"),
OpenPOWER on IntegriCloud