ANDROID: GKI: iommu/rockchip: Add .map_sg callback for V2

Fixes: e24979f0e7 ("ANDROID: GKI: iommu: Snapshot of vendor changes")
Change-Id: I3929a7b47a1523a01b64190031fee3b001f3e676
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
Simon Xue 2020-06-12 11:34:02 +08:00 committed by Tao Huang
parent 3631fa6e38
commit c4026e63aa

View File

@ -1578,6 +1578,7 @@ static const struct iommu_ops rk_iommu_ops_v2 = {
.detach_dev = rk_iommu_detach_device,
.map = rk_iommu_map_v2,
.unmap = rk_iommu_unmap_v2,
.map_sg = default_iommu_map_sg,
.flush_iotlb_all = rk_iommu_flush_tlb_all,
.add_device = rk_iommu_add_device,
.remove_device = rk_iommu_remove_device,