]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
acp62: add initial support for AMD ACP v6.2 RPL
authorpseudoc <atlas.yu@canonical.com>
Wed, 28 Jun 2023 09:27:04 +0000 (17:27 +0800)
committerJaroslav Kysela <perex@perex.cz>
Wed, 28 Jun 2023 10:46:00 +0000 (12:46 +0200)
Also simplify the regex for AcpCardId.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/332
Signed-off-by: Atlas Yu <atlas.yu@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA/HDA.conf
ucm2/conf.d/acp62/acp62.conf [new symlink]

index 93172806363e1e37c40d78c28306f8dee2f95d11..83f3db2233b1e5d7458bcfb71032657af2a435c7 100644 (file)
@@ -3,7 +3,7 @@ Syntax 6
 Define.Use ""  # a non-empty string to use UCM configuration for HDA devices
 Define.Done "" # a non-empty string to skip the end error
 
-Define.AcpCardId "$${find-card:field=name,return=id,regex='^(acp|acp6x|acp63)$'}"
+Define.AcpCardId "$${find-card:field=name,return=id,regex='^acp(|6[23x])$'}"
 Define.DeviceMic "Mic"
 
 If.dualcodec {
diff --git a/ucm2/conf.d/acp62/acp62.conf b/ucm2/conf.d/acp62/acp62.conf
new file mode 120000 (symlink)
index 0000000..7298c24
--- /dev/null
@@ -0,0 +1 @@
+../../common/linked-card.conf
\ No newline at end of file