From: Jian-Hong Pan Date: Tue, 15 Dec 2020 08:54:03 +0000 (+0800) Subject: chtrt5645: Enable Internal MIC of ECS EF20EA X-Git-Tag: v1.2.5~69 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5634db4be3ed435f3e59f30a71c3c3711162929d;p=alsa-ucm-conf.git 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 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/chtrt5645/HiFi.conf b/ucm2/chtrt5645/HiFi.conf index 10b0a1c..30fad50 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 ""