Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ef75965 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dsp:q6afe: Resolve crash in q6afe_get_avcs_modules"

parents 54c572ba 732b5ca8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -443,9 +443,11 @@ static int q6afe_load_avcs_modules(int num_modules, u16 port_id,
						AVS_MODULE_ID_DEPACKETIZER_COP;
					goto load_unload;
				}
				if (format_id == ASM_MEDIA_FMT_LC3) {
				if (format_id == ASM_MEDIA_FMT_LC3 ||
				    format_id == ASM_MEDIA_FMT_APTX_ADAPTIVE) {
					pm[i]->payload->load_unload_info[0].id1 =
					AVS_MODULE_ID_DEPACKETIZER_COP_V2;
					goto load_unload;
				}

				pm[i]->payload->load_unload_info[1].module_type =