diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-28 15:51:43 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 06:28:30 -0400 |
commit | 8fc8ec92a5db47cdf3526adc5717041c611e5516 (patch) | |
tree | 41b3c5065c5cba96ae29e29a867a2c797709edca /sound/soc/codecs/sgtl5000.c | |
parent | e413ba88044db34b3fc9aa1b432a4579db9072b3 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Zeng Zhaoming <zengzm.kernel@gmail.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.c')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 6 |
1 files changed, 3 insertions, 3 deletions
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[] = { | |||
197 | SND_SOC_DAPM_OUTPUT("HP_OUT"), | 197 | SND_SOC_DAPM_OUTPUT("HP_OUT"), |
198 | SND_SOC_DAPM_OUTPUT("LINE_OUT"), | 198 | SND_SOC_DAPM_OUTPUT("LINE_OUT"), |
199 | 199 | ||
200 | SND_SOC_DAPM_MICBIAS_E("Mic Bias", SGTL5000_CHIP_MIC_CTRL, 8, 0, | 200 | SND_SOC_DAPM_SUPPLY("Mic Bias", SGTL5000_CHIP_MIC_CTRL, 8, 0, |
201 | mic_bias_event, | 201 | mic_bias_event, |
202 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), | 202 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), |
203 | 203 | ||
204 | SND_SOC_DAPM_PGA_E("HP", SGTL5000_CHIP_ANA_POWER, 4, 0, NULL, 0, | 204 | SND_SOC_DAPM_PGA_E("HP", SGTL5000_CHIP_ANA_POWER, 4, 0, NULL, 0, |
205 | small_pop_event, | 205 | small_pop_event, |