topology: fix setting mux uuid in m4

Currently the mux/demux uuid setting doesn't work and uuid is always set
to "demux". Fix this by quoting the ifelse in 1 line.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
Jaska Uimonen 2020-12-14 18:13:48 +02:00 committed by Liam Girdwood
parent 6d75984f7b
commit 589055d38a
1 changed files with 1 additions and 3 deletions

View File

@ -43,9 +43,7 @@ define(`W_MUXDEMUX',
`SectionVendorTuples."'N_MUXDEMUX($1)`_tuples_uuid" {'
` tokens "sof_comp_tokens"'
` tuples."uuid" {'
ifelse(`$2', `0',
` SOF_TKN_COMP_UUID' STR(mux_uuid),
` SOF_TKN_COMP_UUID' STR(demux_uuid))
`ifelse(`$2', `0',` SOF_TKN_COMP_UUID' STR(mux_uuid),` SOF_TKN_COMP_UUID' STR(demux_uuid))'
` }'
`}'
`SectionData."'N_MUXDEMUX($1)`_data_uuid" {'