From: Mark Brown Date: Wed, 28 Mar 2012 19:51:43 +0000 (+0100) Subject: ASoC: sgtl5000: Convert mic bias to a supply widget X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fc8ec92a5db47cdf3526adc5717041c611e5516;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: sgtl5000: Convert mic bias to a supply widget No current users and it's the last user of MICBIAS_E(). Signed-off-by: Mark Brown Acked-by: Dong Aisheng Acked-by: Zeng Zhaoming Tested-by: Shawn Guo --- diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index d1926266fe00..77beb6d7d269 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -197,9 +197,9 @@ static const struct snd_soc_dapm_widget sgtl5000_dapm_widgets[] = { SND_SOC_DAPM_OUTPUT("HP_OUT"), SND_SOC_DAPM_OUTPUT("LINE_OUT"), - SND_SOC_DAPM_MICBIAS_E("Mic Bias", SGTL5000_CHIP_MIC_CTRL, 8, 0, - mic_bias_event, - SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), + SND_SOC_DAPM_SUPPLY("Mic Bias", SGTL5000_CHIP_MIC_CTRL, 8, 0, + mic_bias_event, + SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), SND_SOC_DAPM_PGA_E("HP", SGTL5000_CHIP_ANA_POWER, 4, 0, NULL, 0, small_pop_event,