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

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

Merge "msm: ipa3: Fix to save the ntn buffers in SMMU disabled case"

parents 552cbb52 abb512e3
Loading
Loading
Loading
Loading
+10 −14
Original line number Diff line number Diff line
@@ -540,21 +540,17 @@ int ipa_uc_ntn_conn_pipes(struct ipa_ntn_conn_in_params *inp,
		goto fail;
	}

	if (ntn_ctx->conn.dl.smmu_enabled) {
		result = ipa_uc_ntn_alloc_conn_smmu_info(&ntn_ctx->conn.dl,
			&inp->dl);
	result = ipa_uc_ntn_alloc_conn_smmu_info(&ntn_ctx->conn.dl, &inp->dl);
	if (result) {
		IPA_UC_OFFLOAD_ERR("alloc failure on TX\n");
		goto fail;
	}
		result = ipa_uc_ntn_alloc_conn_smmu_info(&ntn_ctx->conn.ul,
			&inp->ul);
	result = ipa_uc_ntn_alloc_conn_smmu_info(&ntn_ctx->conn.ul, &inp->ul);
	if (result) {
		ipa_uc_ntn_free_conn_smmu_info(&ntn_ctx->conn.dl);
		IPA_UC_OFFLOAD_ERR("alloc failure on RX\n");
		goto fail;
	}
	}

fail:
	if (!ipa_pm_is_used())