[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171018170631.9189-1-carlo@caione.org>
Date: Wed, 18 Oct 2017 18:06:31 +0100
From: Carlo Caione <carlo@...one.org>
To: linux@...lessm.com, bardliao@...ltek.com, oder_chiou@...ltek.com,
lgirdwood@...il.com, broonie@...nel.org,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
pierre-louis.bossart@...ux.intel.com
Cc: Carlo Caione <carlo@...lessm.com>
Subject: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
From: Carlo Caione <carlo@...lessm.com>
MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.
Signed-off-by: Carlo Caione <carlo@...lessm.com>
---
sound/soc/codecs/rt5651.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index da60b28ba3df..28f7210cec91 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"),
--
2.14.2
Powered by blists - more mailing lists