diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-23 11:22:48 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-23 11:59:43 -0400 |
commit | 086d7f804e269454b4fffe757ed5517c3703baf8 (patch) | |
tree | 2a2f34d8add2ac9a2087c690a4960ec1b8ef54b6 /sound/soc | |
parent | 3f7d55a19adbf37b5b91eea91b21f2209a1b9ca2 (diff) |
ASoC: Convert WM8962 MICBIAS to a supply widget
A supply widget is generally clearer than a MICBIAS widget and a mic bias
is just a type of supply so use a supply widget for the MICBIAS. This also
avoids confusion with the routing when connected to multiple inputs.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 2 | ||||
-rw-r--r-- | sound/soc/samsung/speyside_wm8962.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index d26ec6daec03..bc6bdde3019f 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
@@ -2667,7 +2667,7 @@ SND_SOC_DAPM_INPUT("IN4R"), | |||
2667 | SND_SOC_DAPM_INPUT("Beep"), | 2667 | SND_SOC_DAPM_INPUT("Beep"), |
2668 | SND_SOC_DAPM_INPUT("DMICDAT"), | 2668 | SND_SOC_DAPM_INPUT("DMICDAT"), |
2669 | 2669 | ||
2670 | SND_SOC_DAPM_MICBIAS("MICBIAS", WM8962_PWR_MGMT_1, 1, 0), | 2670 | SND_SOC_DAPM_SUPPLY("MICBIAS", WM8962_PWR_MGMT_1, 1, 0, NULL, 0), |
2671 | 2671 | ||
2672 | SND_SOC_DAPM_SUPPLY("Class G", WM8962_CHARGE_PUMP_B, 0, 1, NULL, 0), | 2672 | SND_SOC_DAPM_SUPPLY("Class G", WM8962_CHARGE_PUMP_B, 0, 1, NULL, 0), |
2673 | SND_SOC_DAPM_SUPPLY("SYSCLK", WM8962_CLOCKING2, 5, 0, sysclk_event, | 2673 | SND_SOC_DAPM_SUPPLY("SYSCLK", WM8962_CLOCKING2, 5, 0, sysclk_event, |
diff --git a/sound/soc/samsung/speyside_wm8962.c b/sound/soc/samsung/speyside_wm8962.c index 98b28eac4120..35539eb8fa09 100644 --- a/sound/soc/samsung/speyside_wm8962.c +++ b/sound/soc/samsung/speyside_wm8962.c | |||
@@ -152,12 +152,12 @@ static struct snd_soc_dapm_route audio_paths[] = { | |||
152 | { "Main Speaker", NULL, "SPKOUTL" }, | 152 | { "Main Speaker", NULL, "SPKOUTL" }, |
153 | { "Main Speaker", NULL, "SPKOUTR" }, | 153 | { "Main Speaker", NULL, "SPKOUTR" }, |
154 | 154 | ||
155 | { "MICBIAS", NULL, "Headset Mic" }, | 155 | { "Headset Mic", NULL, "MICBIAS" }, |
156 | { "IN4L", NULL, "MICBIAS" }, | 156 | { "IN4L", NULL, "Headset Mic" }, |
157 | { "IN4R", NULL, "MICBIAS" }, | 157 | { "IN4R", NULL, "Headset Mic" }, |
158 | 158 | ||
159 | { "MICBIAS", NULL, "DMIC" }, | 159 | { "DMIC", NULL, "MICBIAS" }, |
160 | { "DMICDAT", NULL, "MICBIAS" }, | 160 | { "DMICDAT", NULL, "DMIC" }, |
161 | }; | 161 | }; |
162 | 162 | ||
163 | static struct snd_soc_jack speyside_wm8962_headset; | 163 | static struct snd_soc_jack speyside_wm8962_headset; |