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

Commit dfe7fa9

Browse files
committed
topology: test: set id to 0 for codec topology
For nocodec topology, we need the id to be same with SSP index since all SSP ports are enabled in nocodec. Codec machine drivers always have id to 0. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent 600e269 commit dfe7fa9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

topology/test/test-all.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ PCM_DUPLEX_ADD(Passthrough, 3, 0, 0, PIPELINE_PCM_1, PIPELINE_PCM_2)
8585
#
8686
# TEST_SSP_DATA_BITS bit I2S using TEST_SSP_PHY_BITS bit sample conatiner on SSP TEST_DAI_PORT
8787
#
88-
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT, TEST_DAI_PORT, TEST_DAI_LINK_NAME,
88+
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT,
89+
ifelse(index(TEST_DAI_LINK_NAME, NoCodec), -1, 0 ,TEST_DAI_PORT),
90+
TEST_DAI_LINK_NAME,
8991
SSP_CONFIG(TEST_SSP_MODE,
9092
SSP_CLOCK(mclk, TEST_SSP_MCLK, codec_mclk_in),
9193
SSP_CLOCK(bclk, TEST_SSP_BCLK, codec_slave),

0 commit comments

Comments
 (0)