alsa-ucm-conf/0012-chtrt5645-Enable-Internal-MIC-of-ECS-EF20EA.patch
Takashi Iwai 55748c8eb5 Accepting request 860484 from home:tiwai:branches:multimedia:libs
- Backport upstream fixes: HD-audio dual codec fixes and the builtin
  mic fix for rt5645-based devices:
  0010-HDA-Intel-HiFi-dual-Add-EnableSequence-and-DisableSe.patch
  0011-HDA-Intel-HiFi-dual-Add-BootSequence-and-disable-pla.patch
  0012-chtrt5645-Enable-Internal-MIC-of-ECS-EF20EA.patch

OBS-URL: https://build.opensuse.org/request/show/860484
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-ucm-conf?expand=0&rev=27
2021-01-05 14:46:53 +00:00

37 lines
1.1 KiB
Diff

From 5634db4be3ed435f3e59f30a71c3c3711162929d Mon Sep 17 00:00:00 2001
From: Jian-Hong Pan <jhp@endlessos.org>
Date: Tue, 15 Dec 2020 16:54:03 +0800
Subject: [PATCH 12/12] chtrt5645: Enable Internal MIC of ECS EF20EA
The ECS EF20EA uses a digital mic connected to the dmic2 pin, rather
then the default analog mic.
1 [chtrt5645 ]: chtrt5645 - chtrt5645
Standard-EF20EA-1.0
Add a card long name match for this, so that the right config is used.
BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/68
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/chtrt5645/HiFi.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ucm2/chtrt5645/HiFi.conf b/ucm2/chtrt5645/HiFi.conf
index 10b0a1c22f97..30fad5013d02 100644
--- a/ucm2/chtrt5645/HiFi.conf
+++ b/ucm2/chtrt5645/HiFi.conf
@@ -18,7 +18,7 @@ If.cfg-dmic2 {
Condition {
Type RegexMatch
String "${CardLongName}"
- Regex "(LENOVO.*LenovoMIIX320|MEDION.*Wingman)"
+ Regex "(LENOVO.*LenovoMIIX320|MEDION.*Wingman|Standard-EF20EA-1.0)"
}
True {
Define.AnalogMic ""
--
2.26.2