summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2017-10-18 18:06:31 +0100
committerMark Brown <broonie@kernel.org>2017-10-23 09:43:25 +0100
commitbe96fc54d2ed8eae6683b71d2dc5d1a939a10a1e (patch)
tree5ca86df2136b49b9aa2bfe6b1024f3579fa49eb9 /sound
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadop-kernel-dev-be96fc54d2ed8eae6683b71d2dc5d1a939a10a1e.zip
op-kernel-dev-be96fc54d2ed8eae6683b71d2dc5d1a939a10a1e.tar.gz
ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget. Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5651.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index da60b28..28f7210 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -883,8 +883,8 @@ static const struct snd_soc_dapm_widget rt5651_dapm_widgets[] = {
/* micbias */
SND_SOC_DAPM_SUPPLY("LDO", RT5651_PWR_ANLG1,
RT5651_PWR_LDO_BIT, 0, NULL, 0),
- SND_SOC_DAPM_MICBIAS("micbias1", RT5651_PWR_ANLG2,
- RT5651_PWR_MB1_BIT, 0),
+ SND_SOC_DAPM_SUPPLY("micbias1", RT5651_PWR_ANLG2,
+ RT5651_PWR_MB1_BIT, 0, NULL, 0),
/* Input Lines */
SND_SOC_DAPM_INPUT("MIC1"),
SND_SOC_DAPM_INPUT("MIC2"),
OpenPOWER on IntegriCloud