topology: pcm: add pipeline_id for stream name to avoid duplicate

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2018-03-28 20:43:21 +08:00 committed by Liam Girdwood
parent 73a454544c
commit 30aaefaea0
1 changed files with 2 additions and 2 deletions

View File

@ -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"'