ASoC: Convert wm8971 MICBIAS to a supply widget
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Oct 2011 07:46:53 +0000 (09:46 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Nov 2011 10:27:45 +0000 (10:27 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8971.c

index b444b297d0b2f442d9f5d1d1e1014227ce42128d..3a06a95dd96f414e028a992de349ecba6db3ed4b 100644 (file)
@@ -224,7 +224,7 @@ static const struct snd_soc_dapm_widget wm8971_dapm_widgets[] = {
        SND_SOC_DAPM_DAC("Left DAC", "Left Playback", WM8971_PWR2, 8, 0),
        SND_SOC_DAPM_PGA("Mono Out 1", WM8971_PWR2, 2, 0, NULL, 0),
 
-       SND_SOC_DAPM_MICBIAS("Mic Bias", WM8971_PWR1, 1, 0),
+       SND_SOC_DAPM_SUPPLY("Mic Bias", WM8971_PWR1, 1, 0, NULL, 0),
        SND_SOC_DAPM_ADC("Right ADC", "Right Capture", WM8971_PWR1, 2, 0),
        SND_SOC_DAPM_ADC("Left ADC", "Left Capture", WM8971_PWR1, 3, 0),