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

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

Merge "msm: ipa: make sure ipa context exists when 11ad smmu prob"

parents d8ffb2cd c09b45ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7731,6 +7731,10 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p,
	}

	if (of_device_is_compatible(dev->of_node, "qcom,ipa-smmu-11ad-cb")) {
		if (ipa3_ctx == NULL) {
			IPAERR("ipa3_ctx was not initialized\n");
			return -EPROBE_DEFER;
		}
		cb = ipa3_get_smmu_ctx(IPA_SMMU_CB_11AD);
		cb->dev = dev;
		smmu_info.present[IPA_SMMU_CB_11AD] = true;