OSDN Git Service

cht-bsw-rt5672: Add Lenovo ThinkPad 10 specific configuration
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Jun 2020 17:44:19 +0000 (19:44 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 28 Jun 2020 20:02:25 +0000 (22:02 +0200)
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>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/cht-bsw-rt5672/HiFi.conf

index 94de7db..5e5f78f 100644 (file)
@@ -11,7 +11,7 @@ If.cfg-dmic1 {
        Condition {
                Type RegexMatch
                String "${CardLongName}"
-               Regex "(LENOVO.*LenovoMiix210)"
+               Regex "(LENOVO.*LenovoMiix210)|(LENOVO.*ThinkPad10)"
        }
        True {
                Define.MonoSpeaker ""