[Sound-open-firmware] [PATCH 2/3] topology: pcm: add pipeline_id for stream name to avoid duplicate
Keyon Jie
yang.jie at linux.intel.com
Wed Mar 28 14:43:21 CEST 2018
Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
---
topology/m4/pcm.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/topology/m4/pcm.m4 b/topology/m4/pcm.m4
index f77cb01..40a3b17 100644
--- a/topology/m4/pcm.m4
+++ b/topology/m4/pcm.m4
@@ -34,7 +34,7 @@ define(`W_PCM_PLAYBACK',
` index "'PIPELINE_ID`"'
` type "aif_in"'
` no_pm "true"'
-` stream_name "'$2`"'
+` stream_name "'$2` '$1`"'
` data ['
` "'N_PCMP($1)`_data"'
` "'N_PCMP($1)`_data_w_comp"'
@@ -69,7 +69,7 @@ define(`W_PCM_CAPTURE',
` index "'PIPELINE_ID`"'
` type "aif_out"'
` no_pm "true"'
-` stream_name "'$2`"'
+` stream_name "'$2` '$1`"'
` data ['
` "'N_PCMC($1)`_data"'
` "'N_PCMC($1)`_data_w_comp"'
--
2.14.1
More information about the Sound-open-firmware
mailing list