[PATCH alsa-lib 1/5] Fix invalid "Regex" Type in various Condition blocks

Jaroslav Kysela perex at perex.cz
Sun Jun 28 22:05:21 CEST 2020


Dne 28. 06. 20 v 19:44 Hans de Goede napsal(a):
> 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.

Thanks. All five patches were applied to the alsa-ucm repo and the 
ucm-validator was fixed, too.

				Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list