Skip to content

Commit 8208b1c

Browse files
committed
fixup! iommu/dart: Track if the DART is locked
1 parent 6ca05bc commit 8208b1c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/iommu/apple-dart.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,8 +999,6 @@ static int apple_dart_of_xlate(struct device *dev,
999999
if (cfg_dart) {
10001000
if (cfg_dart->pgsize != dart->pgsize)
10011001
return -EINVAL;
1002-
if (cfg_dart->locked != dart->locked)
1003-
return -EINVAL;
10041002
}
10051003

10061004
cfg->supports_bypass &= dart->supports_bypass;

0 commit comments

Comments
 (0)