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

Commit c1dbafdf 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 27097712 3c6b338d
Loading
Loading
Loading
Loading
+32 −30
Original line number Diff line number Diff line
@@ -7626,6 +7626,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,
@@ -7658,6 +7659,7 @@ static int ipa_smmu_ap_cb_probe(struct device *dev)
				ipa3_iommu_map(cb->mapping->domain,
					iova_p, pa_p, size_p,
					IOMMU_READ | IOMMU_WRITE);
	}

	smmu_info.present[IPA_SMMU_CB_AP] = true;
	ipa3_ctx->pdev = dev;