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

index d29a962..d4cbec6 100644 (file)
@@ -776,8 +776,8 @@ SND_SOC_DAPM_PGA("ROPGA", WM8990_POWER_MANAGEMENT_3, WM8990_ROPGA_ENA_BIT, 0,
        NULL, 0),
 
 /* MICBIAS */
-SND_SOC_DAPM_MICBIAS("MICBIAS", WM8990_POWER_MANAGEMENT_1,
-       WM8990_MICBIAS_ENA_BIT, 0),
+SND_SOC_DAPM_SUPPLY("MICBIAS", WM8990_POWER_MANAGEMENT_1,
+                   WM8990_MICBIAS_ENA_BIT, 0, NULL, 0),
 
 SND_SOC_DAPM_OUTPUT("LON"),
 SND_SOC_DAPM_OUTPUT("LOP"),