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

Commit

Permalink
topology: add dai extra config loopback mode to ssp
Browse files Browse the repository at this point in the history
Add dai extra config for loopback mode only for SSP DAI.

Signed-off-by: Pan Xiuli <[email protected]>
  • Loading branch information
xiulipan committed Jun 28, 2018
1 parent d9ea921 commit db80584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions topology/m4/dai.m4
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ define(`W_DAI_OUT',
` tokens "sof_dai_tokens"'
` tuples."word" {'
` SOF_TKN_DAI_INDEX' $2
` SOF_TKN_DAI_EXT_CONFIG' ifelse(`DAI_EXTRA_CONFIG', DAI_EXTRA_CONFIG, "0", "`DAI_EXTRA_CONFIG'")
` }'
`}'
`SectionData."'N_DAI_OUT($2)`_data_w" {'
Expand Down
4 changes: 4 additions & 0 deletions topology/platform/common/ssp.m4
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ define(`SSP_CONFIG_DATA',
`}'
)

dnl SSP dai have loopback mode so set the DAI_EXTRA_CONFIG to 1

define(`DAI_EXTRA_CONFIG', 1)

divert(0)dnl

0 comments on commit db80584

Please sign in to comment.