mirror of https://github.com/thesofproject/sof.git
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:
parent
39a7be72e5
commit
f5b7dea110
|
@ -20,6 +20,7 @@ Define {
|
||||||
BT_CP_PCM_CAPS "BT Capture"
|
BT_CP_PCM_CAPS "BT Capture"
|
||||||
|
|
||||||
BT_PCM_ID 2
|
BT_PCM_ID 2
|
||||||
|
BT_PCM_NAME "Port2"
|
||||||
|
|
||||||
BT_LOOPBACK_MODE false
|
BT_LOOPBACK_MODE false
|
||||||
}
|
}
|
||||||
|
|
|
@ -205,12 +205,11 @@ Object.Base {
|
||||||
|
|
||||||
Object.PCM {
|
Object.PCM {
|
||||||
pcm."BT" {
|
pcm."BT" {
|
||||||
name "Port2"
|
name $BT_PCM_NAME
|
||||||
id $BT_PCM_ID
|
id $BT_PCM_ID
|
||||||
direction "duplex"
|
direction "duplex"
|
||||||
|
|
||||||
Object.Base.fe_dai.1 {
|
Object.Base.fe_dai.1 {
|
||||||
name "Port2"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.PCM.pcm_caps.1 {
|
Object.PCM.pcm_caps.1 {
|
||||||
|
|
Loading…
Reference in New Issue