conf: CMI8xxx: define pcm configuration block only one time

There may be multiple CMI8xxx soundcards in the system. Overwrite
the PCM configurations when loaded multiple times.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-12-10 12:12:47 +01:00 committed by Jaroslav Kysela
parent 68b8b43541
commit 041299ea39
5 changed files with 29 additions and 29 deletions

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf>
CMI8738-MC8.pcm.front.0 {
CMI8738-MC8.pcm.front.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -21,7 +21,7 @@ CMI8738-MC8.pcm.front.0 {
}
# default with dmix+softvol & dsnoop
CMI8738-MC8.pcm.default {
CMI8738-MC8.pcm.!default {
@args [ CARD ]
@args.CARD {
type string
@ -53,7 +53,7 @@ CMI8738-MC8.pcm.default {
<confdir:pcm/rear.conf>
# 2nd DAC
CMI8738-MC8.pcm.rear.0 {
CMI8738-MC8.pcm.rear.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -72,7 +72,7 @@ CMI8738-MC8.pcm.rear.0 {
<confdir:pcm/surround40.conf>
CMI8738-MC8.pcm.surround40.0 {
CMI8738-MC8.pcm.surround40.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -110,7 +110,7 @@ CMI8738-MC8.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
CMI8738-MC8.pcm.surround51.0 {
CMI8738-MC8.pcm.surround51.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -144,7 +144,7 @@ CMI8738-MC8.pcm.surround51.0 {
<confdir:pcm/surround71.conf>
CMI8738-MC8.pcm.surround71.0 {
CMI8738-MC8.pcm.surround71.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -178,7 +178,7 @@ CMI8738-MC8.pcm.surround71.0 {
<confdir:pcm/iec958.conf>
CMI8738-MC8.pcm.iec958.0 {
CMI8738-MC8.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string