diff mbox series

[alsa-lib,3/5] cht-bsw-rt5672: Add Lenovo ThinkPad 10 specific configuration

Message ID 20200628174421.115133-3-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show
Series [alsa-lib,1/5] Fix invalid "Regex" Type in various Condition blocks | expand

Commit Message

Hans de Goede June 28, 2020, 5:44 p.m. UTC
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 <hdegoede@redhat.com>
---
 ucm2/cht-bsw-rt5672/HiFi.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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 ""