From: Mark Brown Date: Thu, 27 Oct 2011 07:48:39 +0000 (+0200) Subject: ASoC: Convert wm8991 MICBIAS to a supply widget X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b6406a80278a09d19c31717e68312dbd59dd51fc;p=mv-sheeva.git ASoC: Convert wm8991 MICBIAS to a supply widget Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8991.c b/sound/soc/codecs/wm8991.c index c9ab3ba9bce..1d46d59c82a 100644 --- a/sound/soc/codecs/wm8991.c +++ b/sound/soc/codecs/wm8991.c @@ -770,8 +770,8 @@ static const struct snd_soc_dapm_widget wm8991_dapm_widgets[] = { NULL, 0), /* MICBIAS */ - SND_SOC_DAPM_MICBIAS("MICBIAS", WM8991_POWER_MANAGEMENT_1, - WM8991_MICBIAS_ENA_BIT, 0), + SND_SOC_DAPM_SUPPLY("MICBIAS", WM8991_POWER_MANAGEMENT_1, + WM8991_MICBIAS_ENA_BIT, 0, NULL, 0), SND_SOC_DAPM_OUTPUT("LON"), SND_SOC_DAPM_OUTPUT("LOP"),