Browse Source

Merge "disp: msm: adjust smmu detach sequence to include unmapping"

qctecmdr 5 năm trước cách đây
mục cha
commit
d236dbd5e0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      msm/msm_smmu.c

+ 1 - 0
msm/msm_smmu.c

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