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

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

Merge "dsp:q6afe: Fix avcs load module failure for aptx"

parents dd131631 f19f6fe7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -443,12 +443,14 @@ 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 ||
				    format_id == ASM_MEDIA_FMT_APTX_ADAPTIVE) {
				if (format_id == ASM_MEDIA_FMT_LC3) {
					pm[i]->payload->load_unload_info[0].id1 =
					AVS_MODULE_ID_DEPACKETIZER_COP_V2;
					goto load_unload;
				}
				if (format_id == ASM_MEDIA_FMT_APTX_ADAPTIVE) {
					goto load_unload;
				}

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