From c7adc3dae6a4cd613ee9d3eb34ece5cab2c94abc Mon Sep 17 00:00:00 2001 From: Ranjani Sridharan Date: Mon, 23 Jul 2018 15:40:23 -0700 Subject: [PATCH] topology: fix BE DAI id to be set to ID (not index) Previously it was set to be the dai index which works if there's only one type of BE DAI's. Signed-off-by: Ranjani Sridharan --- topology/m4/dai.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/topology/m4/dai.m4 b/topology/m4/dai.m4 index b0802af..3944ff5 100644 --- a/topology/m4/dai.m4 +++ b/topology/m4/dai.m4 @@ -128,7 +128,7 @@ dnl DAI_CONFIG(type, idx, link_id, name, ssp_config/dmic_config) define(`DAI_CONFIG', `SectionHWConfig."'$1$2`" {' `' -` id "'$2`"' +` id "'$3`"' `' ` ifelse($1, `SSP', $5, `}')' `ifelse($1, `DMIC', $5, `')' @@ -145,7 +145,7 @@ define(`DAI_CONFIG', `SectionBE."'$4`" {' ` id "'$3`"' ` index "0"' -` default_hw_conf_id "'$2`"' +` default_hw_conf_id "'$3`"' `' ` hw_configs [' ` "'$1$2`"'