[PATCH] ASoC: cs4265: Add a MIC pre. route

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 sound/soc/codecs/cs4265.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index 275677de..332d714a 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -230,6 +230,10 @@ static const struct snd_soc_dapm_route cs4265_audio_map[] = {
 	{"DAI1 Capture", NULL, "DOUT"},
 	{"DAI2 Capture", NULL, "DOUT"},
 
+	{ "Pre-amp MIC", NULL, "MICL" },
+	{ "Pre-amp MIC", NULL, "MICR" },
+	{ "ADC Mux", "MIC", "Pre-amp MIC" },
+
 	/* Loopback */
 	{"Loopback", "Switch", "ADC"},
 	{"DAC", NULL, "Loopback"},
-- 
2.17.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux