All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: cs4265: Add a MIC pre. route
@ 2018-09-25  6:40 Matt Flax
  2018-09-25  8:07 ` Charles Keepax
  2018-09-25 17:27 ` Applied "ASoC: cs4265: Add a MIC pre. route" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Flax @ 2018-09-25  6:40 UTC (permalink / raw)
  To: alsa-devel; +Cc: brian.austin, broonie, ckeepax, paul.handrigan, Matt Flax

The cs4265 driver is missing a microphone preamp enable.
This patch enables/disables the microphone preamp when mic
selection is made using the kcontrol.

Signed-off-by: Matt Flax <flatmax@flatmax.org>

---
v2: Removed duplicate MIC lines.
---
 sound/soc/codecs/cs4265.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index 275677de..4e55ac46 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -221,10 +221,11 @@ static const struct snd_soc_dapm_route cs4265_audio_map[] = {
 	{"LINEOUTR", NULL, "DAC"},
 	{"SPDIFOUT", NULL, "SPDIF"},
 
+	{"Pre-amp MIC", NULL, "MICL"},
+	{"Pre-amp MIC", NULL, "MICR"},
+	{"ADC Mux", "MIC", "Pre-amp MIC"},
 	{"ADC Mux", "LINEIN", "LINEINL"},
 	{"ADC Mux", "LINEIN", "LINEINR"},
-	{"ADC Mux", "MIC", "MICL"},
-	{"ADC Mux", "MIC", "MICR"},
 	{"ADC", NULL, "ADC Mux"},
 	{"DOUT", NULL, "ADC"},
 	{"DAI1 Capture", NULL, "DOUT"},
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-25 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25  6:40 [PATCH v2] ASoC: cs4265: Add a MIC pre. route Matt Flax
2018-09-25  8:07 ` Charles Keepax
2018-09-25 17:27 ` Applied "ASoC: cs4265: Add a MIC pre. route" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.