Skip to content

Commit f990145

Browse files
EvilOlafigorpecovnik
authored andcommitted
sunxi: fix iommu driver patch to allow compilation
1 parent 6ada2b0 commit f990145

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

patch/kernel/archive/sunxi-7.0/patches.armbian/drv-iommu-sunxi-add-iommu-driver.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ new file mode 100644
656656
index 000000000000..111111111111
657657
--- /dev/null
658658
+++ b/drivers/iommu/sun55i-iommu.c
659-
@@ -0,0 +1,1605 @@
659+
@@ -0,0 +1,1604 @@
660660
+/* SPDX-License-Identifier: GPL-2.0-or-later */
661661
+/* Copyright(c) 2020 - 2023 Allwinner Technology Co.,Ltd. All rights reserved. */
662662
+/*******************************************************************************
@@ -1382,7 +1382,6 @@ index 000000000000..111111111111
13821382
+ struct sunxi_iommu_owner *owner = dev_iommu_priv_get(dev);
13831383
+
13841384
+ WARN(!dev->dma_mask || *dev->dma_mask == 0, "NULL or 0 dma mask will fail iommu setup\n");
1385-
+ iommu_setup_dma_ops(dev);
13861385
+
13871386
+ sun55i_enable_device_iommu(owner->data, owner->tlbid, owner->flag);
13881387
+}

0 commit comments

Comments
 (0)