diff mbox series

[v2] ASoC: qcom: SC7280: Add support for external DMIC bias supply

Message ID 1659016789-9933-1-git-send-email-quic_srivasam@quicinc.com
State New
Headers show
Series [v2] ASoC: qcom: SC7280: Add support for external DMIC bias supply | expand

Commit Message

Srinivasa Rao Mandadapu July 28, 2022, 1:59 p.m. UTC
Update SC7280 machine driver for enabling external dmic bias supply,
which is required for villager evt boards.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
Changes since v1:
	-- Replace dapm widget SND_SOC_DAPM_MIC with SND_SOC_DAPM_REGULATOR_SUPPLY.
 sound/soc/qcom/sc7280.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/soc/qcom/sc7280.c b/sound/soc/qcom/sc7280.c
index da7469a..4a60f34 100644
--- a/sound/soc/qcom/sc7280.c
+++ b/sound/soc/qcom/sc7280.c
@@ -356,6 +356,7 @@  static const struct snd_soc_ops sc7280_ops = {
 static const struct snd_soc_dapm_widget sc7280_snd_widgets[] = {
 	SND_SOC_DAPM_HP("Headphone Jack", NULL),
 	SND_SOC_DAPM_MIC("Headset Mic", NULL),
+	SND_SOC_DAPM_REGULATOR_SUPPLY("DMICVDD", 0, 0),
 };
 
 static int sc7280_snd_platform_probe(struct platform_device *pdev)