]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
Fix invalid "Regex" Type in various Condition blocks
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Jun 2020 17:44:17 +0000 (19:44 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 28 Jun 2020 20:02:06 +0000 (22:02 +0200)
commita396908d25976c030e7a6a56bd5be0738c11d2ee
tree53c486d896a232e7bccc78fb177f184c58b8b0ee
parent415b126f2ac372598f8af480f0b76da99df27d7d
Fix invalid "Regex" Type in various Condition blocks

Regex is not a valid Condition type, using it leads to errors like these:

ALSA lib ucm_cond.c:300:(if_eval) unknown If.Condition.Type
ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import cht-bsw-rt5672 use case configuration -22
alsaucm: error failed to open sound card cht-bsw-rt5672: Invalid argument

Replacing it with "RegexMatch" fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/cht-bsw-rt5672/HiFi.conf
ucm2/chtnau8824/HiFi.conf
ucm2/chtrt5645/HiFi.conf
ucm2/sof-soundwire/sof-soundwire.conf