mirror of https://github.com/thesofproject/sof.git
topology2: dmic-generic.conf: Rename generic DMIC volume
Rename generic DMIC mixer name. Define the associated PCM name in a common place and refer to that name on the mixer name. On cavs-tgl-nocodec.tplg is seen a following mixer name change: 'gain.13.1 DMIC0 Capture Volume 1' > 'gain.13.1 DMIC Capture Volume' Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
This commit is contained in:
parent
b918e1f316
commit
a6984b8503
|
@ -1,3 +1,7 @@
|
|||
Define {
|
||||
DMIC0_PCM_NAME "DMIC"
|
||||
}
|
||||
|
||||
Object.Dai.DMIC [
|
||||
{
|
||||
dai_index 0
|
||||
|
@ -121,7 +125,7 @@ IncludeByKey.PASSTHROUGH {
|
|||
out_ch_map $CHANNEL_MAP_3_POINT_1
|
||||
}
|
||||
Object.Control.mixer.1 {
|
||||
name 'DMIC0 Capture Volume 1'
|
||||
name '$DMIC0_PCM_NAME Capture Volume'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -345,11 +349,11 @@ IncludeByKey.PASSTHROUGH {
|
|||
|
||||
Object.PCM.pcm [
|
||||
{
|
||||
name "DMIC"
|
||||
name "$DMIC0_PCM_NAME"
|
||||
id $DMIC0_PCM_ID
|
||||
direction "capture"
|
||||
Object.Base.fe_dai.1 {
|
||||
name "DMIC"
|
||||
name "$DMIC0_PCM_NAME"
|
||||
}
|
||||
|
||||
Object.PCM.pcm_caps.1 {
|
||||
|
|
Loading…
Reference in New Issue