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:
Pan Xiuli 2018-10-18 18:56:42 +08:00
parent 489832137c
commit 25dcef9219
1 changed files with 2 additions and 0 deletions

View File

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