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

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

Merge "msm: ipa: remove memory allocation for SMEM on APQ platform"

parents 4ef1e39e b71b7248
Loading
Loading
Loading
Loading
+28 −26
Original line number Diff line number Diff line
@@ -6651,6 +6651,7 @@ static int ipa_smmu_ap_cb_probe(struct device *dev)
		IPADBG("ipa q6 smem size = %u\n", ipa_smem_size);
	}

	if (ipa3_ctx->platform_type != IPA_PLAT_TYPE_APQ) {
		/* map SMEM memory for IPA table accesses */
		ret = qcom_smem_alloc(SMEM_MODEM,
			SMEM_IPA_FILTER_TABLE,
@@ -6683,6 +6684,7 @@ static int ipa_smmu_ap_cb_probe(struct device *dev)
		ipa3_iommu_map(cb->iommu_domain,
				iova_p, pa_p, size_p,
				IOMMU_READ | IOMMU_WRITE);
	}

	smmu_info.present[IPA_SMMU_CB_AP] = true;