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

Fixes: e24979f0e7 ("ANDROID: GKI: iommu: Snapshot of vendor changes")
Change-Id: I577f8d816e6332e9fa01a26c43ab1d4ab74f04d1
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 5bd3bf5983
commit 7ee238f8c2

View File

@@ -1559,6 +1559,7 @@ static const struct iommu_ops rk_iommu_ops = {
.attach_dev = rk_iommu_attach_device,
.detach_dev = rk_iommu_detach_device,
.map = rk_iommu_map,
.map_sg = default_iommu_map_sg,
.unmap = rk_iommu_unmap,
.flush_iotlb_all = rk_iommu_flush_tlb_all,
.add_device = rk_iommu_add_device,