Ver Fonte

Merge "Revert "Revert "msm: ipa3: Use atomic map API to avoid sleep in atomic context"""

qctecmdr há 1 ano atrás
pai
commit
cf8885a78e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa.c

@@ -12062,7 +12062,7 @@ int ipa3_iommu_map(struct iommu_domain *domain,
 	if (cb->is_cache_coherent)
 		prot |= IOMMU_CACHE;
 
-	return iommu_map(domain, iova, paddr, size, prot);
+	return iommu_map_atomic(domain, iova, paddr, size, prot);
 }
 
 /**