From 701b2124c8a5ddecf99f385ba16fd31fb7359462 Mon Sep 17 00:00:00 2001 From: Manoj Kumar N D Date: Mon, 22 Aug 2022 08:51:51 +0530 Subject: [PATCH] dsp : search cal block using path in asm Send path to get the cal block in order to fetch topology and app type. Change-Id: I5ea2fe7da99f095c9bb31644bd65c0a2a6d0870f Signed-off-by: Manoj Kumar N D --- dsp/q6asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/q6asm.c b/dsp/q6asm.c index 167ea186fff3..ed84f225f017 100644 --- a/dsp/q6asm.c +++ b/dsp/q6asm.c @@ -11362,7 +11362,7 @@ static int q6asm_get_asm_topology_apptype(struct q6asm_cal_info *cal_info, struc goto unlock; } } else { - cal_block = q6asm_find_cal_by_buf_number(ASM_TOPOLOGY_CAL, 0, 0, ac->fedai_id); + cal_block = q6asm_find_cal_by_buf_number(ASM_TOPOLOGY_CAL, 0, 0, path); if (cal_block == NULL) { pr_debug("%s: Couldn't find cal_block with buf_number, re-routing " "search using CAL type only\n", __func__);