projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a0c64
)
ASoC: cs4265: Add a MIC pre. route
author
Matt Flax
<
[email protected]
>
Tue, 25 Sep 2018 06:40:18 +0000
(16:40 +1000)
committer
Mark Brown
<
[email protected]
>
Tue, 25 Sep 2018 17:18:38 +0000
(10:18 -0700)
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 <
[email protected]
>
Reviewed-by: Charles Keepax <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/cs4265.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs4265.c
b/sound/soc/codecs/cs4265.c
index d9eebf6af7a8c1f49cb46a96ee49c35d4352bb9e..ab27d2b94d02db70e137946b0cd4bd8953ab46cc 100644
(file)
--- 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"},