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

index 9fc8f4c0a9a91acbe52f5321f60008d90371ef51..bf325bb12d77121f0377f6252d711e04cf26c2ce 100644 (file)
@@ -1196,7 +1196,7 @@ SND_SOC_DAPM_INPUT("IN2R"),
 SND_SOC_DAPM_INPUT("IN3L"),
 SND_SOC_DAPM_INPUT("IN3R"),
 
-SND_SOC_DAPM_MICBIAS("MICBIAS", WM8904_MIC_BIAS_CONTROL_0, 0, 0),
+SND_SOC_DAPM_SUPPLY("MICBIAS", WM8904_MIC_BIAS_CONTROL_0, 0, 0, NULL, 0),
 
 SND_SOC_DAPM_MUX("Left Capture Mux", SND_SOC_NOPM, 0, 0, &lin_mux),
 SND_SOC_DAPM_MUX("Left Capture Inverting Mux", SND_SOC_NOPM, 0, 0,