topology2: bt-generic: allow override PCM name

Do not hardcode PCM name to "Port2".

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2023-01-31 13:55:31 +02:00 committed by Kai Vehmanen
parent 39a7be72e5
commit f5b7dea110
2 changed files with 2 additions and 2 deletions

View File

@ -20,6 +20,7 @@ Define {
BT_CP_PCM_CAPS "BT Capture"
BT_PCM_ID 2
BT_PCM_NAME "Port2"
BT_LOOPBACK_MODE false
}

View File

@ -205,12 +205,11 @@ Object.Base {
Object.PCM {
pcm."BT" {
name "Port2"
name $BT_PCM_NAME
id $BT_PCM_ID
direction "duplex"
Object.Base.fe_dai.1 {
name "Port2"
}
Object.PCM.pcm_caps.1 {