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: Samantha Tran <samtran@codeaurora.org>
这个提交包含在:
Samantha Tran
2019-10-28 13:20:21 -07:00
父节点 e070ce180c
当前提交 f1f06fc585

查看文件

@@ -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);