From 175ac072b66afc5ffc2b818ab6626ff3f823f9e3 Mon Sep 17 00:00:00 2001 From: Shunhua Lan Date: Wed, 18 Mar 2020 18:56:42 +0800 Subject: [PATCH] ASoC: rt5640: enable MICBIAS1 when recording from mic Change-Id: I7dd50309618835f712f85408e2281f7bd5e8b6b1 Signed-off-by: Shunhua Lan --- sound/soc/codecs/rt5640.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 27770143ae8f..c8d8514cd0dd 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -1338,7 +1338,9 @@ static const struct snd_soc_dapm_route rt5640_dapm_routes[] = { { "I2S2", NULL, "I2S2 Filter ASRC", is_using_asrc }, { "DMIC1", NULL, "DMIC1 ASRC", is_using_asrc }, { "DMIC2", NULL, "DMIC2 ASRC", is_using_asrc }, - + {"IN1P", NULL, "MICBIAS1"}, + {"IN2P", NULL, "MICBIAS1"}, + {"IN3P", NULL, "MICBIAS1"}, {"IN1P", NULL, "LDO2"}, {"IN2P", NULL, "LDO2"}, {"IN3P", NULL, "LDO2"},