Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit db80584

Browse files
committed
topology: add dai extra config loopback mode to ssp
Add dai extra config for loopback mode only for SSP DAI. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent d9ea921 commit db80584

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

topology/m4/dai.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ define(`W_DAI_OUT',
2424
` tokens "sof_dai_tokens"'
2525
` tuples."word" {'
2626
` SOF_TKN_DAI_INDEX' $2
27+
` SOF_TKN_DAI_EXT_CONFIG' ifelse(`DAI_EXTRA_CONFIG', DAI_EXTRA_CONFIG, "0", "`DAI_EXTRA_CONFIG'")
2728
` }'
2829
`}'
2930
`SectionData."'N_DAI_OUT($2)`_data_w" {'

topology/platform/common/ssp.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ define(`SSP_CONFIG_DATA',
4343
`}'
4444
)
4545

46+
dnl SSP dai have loopback mode so set the DAI_EXTRA_CONFIG to 1
47+
48+
define(`DAI_EXTRA_CONFIG', 1)
49+
4650
divert(0)dnl

0 commit comments

Comments
 (0)