ASoC: Convert wm8961 MICBIAS to a supply widget
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Oct 2011 07:46:32 +0000 (09:46 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Oct 2011 19:07:58 +0000 (19:07 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8961.c

index 9568c8a49f962da10d62a11ad58a8143cfd8619d..7f2df7ba27f63e4cbae3617475dc88b7e0e88f82 100644 (file)
@@ -531,7 +531,7 @@ SND_SOC_DAPM_PGA("Right Input", WM8961_PWR_MGMT_1, 4, 0, NULL, 0),
 SND_SOC_DAPM_ADC("ADCL", "HiFi Capture", WM8961_PWR_MGMT_1, 3, 0),
 SND_SOC_DAPM_ADC("ADCR", "HiFi Capture", WM8961_PWR_MGMT_1, 2, 0),
 
-SND_SOC_DAPM_MICBIAS("MICBIAS", WM8961_PWR_MGMT_1, 1, 0),
+SND_SOC_DAPM_SUPPLY("MICBIAS", WM8961_PWR_MGMT_1, 1, 0, NULL, 0),
 
 SND_SOC_DAPM_MUX("DACL Sidetone", SND_SOC_NOPM, 0, 0, &dacl_mux),
 SND_SOC_DAPM_MUX("DACR Sidetone", SND_SOC_NOPM, 0, 0, &dacr_mux),