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

Commit f1f06fc5 authored by Samantha Tran's avatar Samantha Tran
Browse files

disp: msm: adjust smmu detach sequence to include unmapping



Device needs to remove mappings prior to iommu detach call.

Change-Id: I1bfe771ec34bd75742c40aaa4d95528d82386f48
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent e070ce18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ static void msm_smmu_detach(struct msm_mmu *mmu, const char * const *names,
		return;

	pm_runtime_get_sync(mmu->dev);
	msm_dma_unmap_all_for_dev(client->dev);
	iommu_detach_device(client->domain, client->dev);
	pm_runtime_put_sync(mmu->dev);