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

index 9352f1e088d27fd4053ce7b6e6796081c1daee92..7bd35b8fdcd26ee011ae4327a4bf39ebffa34568 100644 (file)
@@ -226,7 +226,7 @@ SND_SOC_DAPM_MIXER("Input PGA", WM8974_POWER2, 2, 0, wm8974_inpga,
 SND_SOC_DAPM_MIXER("Boost Mixer", WM8974_POWER2, 4, 0,
                   wm8974_boost_mixer, ARRAY_SIZE(wm8974_boost_mixer)),
 
-SND_SOC_DAPM_MICBIAS("Mic Bias", WM8974_POWER1, 4, 0),
+SND_SOC_DAPM_SUPPLY("Mic Bias", WM8974_POWER1, 4, 0, NULL, 0),
 
 SND_SOC_DAPM_INPUT("MICN"),
 SND_SOC_DAPM_INPUT("MICP"),