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

Commit a5210f79 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov
Browse files

msm: cpp: Change CPP IOMMU contex name according dtsi



MSM8994 IOMMU dtsi defines the contex which cpp have to
use. CPP driver have to use the same contex name as the
one specified in the dtsi.

Change-Id: Ida87210dcd4ee39494f6ab6a61290aec8de1afe9
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 36005878
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2642,7 +2642,7 @@ static int cpp_probe(struct platform_device *pdev)
		goto cpp_probe_init_error;

	if (cpp_dev->hw_info.cpp_hw_version == CPP_HW_VERSION_5_0_0)
		cpp_dev->iommu_ctx = msm_iommu_get_ctx("cpp_2");
		cpp_dev->iommu_ctx = msm_iommu_get_ctx("cpp_0");
	else
		cpp_dev->iommu_ctx = msm_iommu_get_ctx("cpp");