topology: dai: add DAI_ADD_SCHED to set scheduling component

So we can set scheduling component when adding a DAI.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This commit is contained in:
Bard Liao 2020-03-11 15:12:29 +08:00 committed by Liam Girdwood
parent 6ed1d32f70
commit 3ae3beffbc
1 changed files with 10 additions and 0 deletions

View File

@ -200,4 +200,14 @@ define(`DAI_ADD',
`DEBUG_DAI($3, $4)'
)
# DAI_ADD_SCHED can be used for adding a DAI with sched_comp
dnl DAI_ADD_SCHED(pipeline,
dnl pipe id, dai type, dai_index, dai_be,
dnl buffer, periods, format,
dnl period , priority, core, time_domain, sched_comp)
define(`DAI_ADD_SCHED',
`undefine(`SCHED_COMP')'
`define(`SCHED_COMP', $13)'
`DAI_ADD($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)'
)
divert(0)dnl