topolgy: m4: add direction for widget dai
Add direction for widget dai, 0 for playback and 1 for capture. Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
parent
489832137c
commit
25dcef9219
|
@ -26,6 +26,7 @@ define(`W_DAI_OUT',
|
|||
` tokens "sof_dai_tokens"'
|
||||
` tuples."word" {'
|
||||
` SOF_TKN_DAI_INDEX' $2
|
||||
` SOF_TKN_DAI_DIRECTION' "0"
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_OUT($2)`_data_w" {'
|
||||
|
@ -79,6 +80,7 @@ define(`W_DAI_IN',
|
|||
` tokens "sof_dai_tokens"'
|
||||
` tuples."word" {'
|
||||
` SOF_TKN_DAI_INDEX' $2
|
||||
` SOF_TKN_DAI_DIRECTION' "1"
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_IN($2)`_data_w" {'
|
||||
|
|
Loading…
Reference in New Issue