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>
This commit is contained in:
parent
600e2692bd
commit
dfe7fa9196
|
@ -85,7 +85,9 @@ PCM_DUPLEX_ADD(Passthrough, 3, 0, 0, PIPELINE_PCM_1, PIPELINE_PCM_2)
|
|||
#
|
||||
# TEST_SSP_DATA_BITS bit I2S using TEST_SSP_PHY_BITS bit sample conatiner on SSP TEST_DAI_PORT
|
||||
#
|
||||
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT, TEST_DAI_PORT, TEST_DAI_LINK_NAME,
|
||||
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT,
|
||||
ifelse(index(TEST_DAI_LINK_NAME, NoCodec), -1, 0 ,TEST_DAI_PORT),
|
||||
TEST_DAI_LINK_NAME,
|
||||
SSP_CONFIG(TEST_SSP_MODE,
|
||||
SSP_CLOCK(mclk, TEST_SSP_MCLK, codec_mclk_in),
|
||||
SSP_CLOCK(bclk, TEST_SSP_BCLK, codec_slave),
|
||||
|
|
Loading…
Reference in New Issue