topology: test: fix shell macro expansion for MCLK argument
shell expands $10 as $1 followed by 0, so test .conf topology files contained mclk_freq "codec0" instead of the expected value (e.g. 19200000). Parenthesis are required when there are more than 9 arguments to a macro... Reported-by: "Wang, Yan" <yan.wang@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
a6bb8de907
commit
9f94b57e67
|
@ -39,7 +39,7 @@ function simple_test {
|
|||
-DTEST_SSP_FORMAT=$6 \
|
||||
-DTEST_PIPE_FORMAT=$4 \
|
||||
-DTEST_SSP_BCLK=$9 \
|
||||
-DTEST_SSP_MCLK=$10 \
|
||||
-DTEST_SSP_MCLK=${10} \
|
||||
-DTEST_SSP_PHY_BITS=$7 \
|
||||
-DTEST_SSP_DATA_BITS=$8 \
|
||||
$i.m4 > ${TFILE}.conf
|
||||
|
|
Loading…
Reference in New Issue