From: Hans de Goede Date: Sun, 28 Jun 2020 17:44:19 +0000 (+0200) Subject: cht-bsw-rt5672: Add Lenovo ThinkPad 10 specific configuration X-Git-Tag: v1.2.4~27 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8a9609cc694cb1de501a67d7c091edaa9a338932;p=alsa-ucm-conf.git cht-bsw-rt5672: Add Lenovo ThinkPad 10 specific configuration The Lenovo ThinkPad 10 (first gen) has stereo speakers and the stereo DMICs in the top-edge of the tablet are connected to DMIC1. Add a RegexMatch for this, so that users do not have to select the right settings manually. Signed-off-by: Hans de Goede Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/cht-bsw-rt5672/HiFi.conf b/ucm2/cht-bsw-rt5672/HiFi.conf index 94de7db..5e5f78f 100644 --- a/ucm2/cht-bsw-rt5672/HiFi.conf +++ b/ucm2/cht-bsw-rt5672/HiFi.conf @@ -11,7 +11,7 @@ If.cfg-dmic1 { Condition { Type RegexMatch String "${CardLongName}" - Regex "(LENOVO.*LenovoMiix210)" + Regex "(LENOVO.*LenovoMiix210)|(LENOVO.*ThinkPad10)" } True { Define.MonoSpeaker ""