topology: pipeline: add sched_comp argument to PIPELINE_ADD

Some pipelines might need to share the scheduling comp
with other pipelines. In this case, the scheduling comp
name should be passed as an argument.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2019-03-04 14:38:07 -08:00 committed by Liam Girdwood
parent cc51ff8f0c
commit 488cedaf79
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,7 @@ define(`PIPELINE_PCM_DAI_ADD',
dnl PIPELINE_ADD(pipeline,
dnl pipe id, max channels, format,
dnl frames, deadline, priority, core)
dnl frames, deadline, priority, core, sched_comp)
define(`PIPELINE_ADD',
`undefine(`PIPELINE_ID')'
`undefine(`PIPELINE_CHANNELS')'
@ -107,6 +107,7 @@ define(`PIPELINE_ADD',
`define(`SCHEDULE_DEADLINE', $6)'
`define(`SCHEDULE_PRIORITY', $7)'
`define(`SCHEDULE_CORE', $8)'
`define(`SCHED_COMP', $9)'
`include($1)'
)