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 <quic_mnd@quicinc.com>
This commit is contained in:
Manoj Kumar N D 2022-08-22 08:51:51 +05:30 • committed by Gerrit - the friendly Code Review server
commit 701b2124c8

View file

@ -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__);