projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170ecbd
)
ACPI/IORT: Use device_iommu_mapped()
author
Joerg Roedel
<jroedel@suse.de>
Fri, 30 Nov 2018 12:14:05 +0000
(13:14 +0100)
committer
Joerg Roedel
<jroedel@suse.de>
Mon, 17 Dec 2018 09:38:43 +0000
(10:38 +0100)
Replace the iommu-check with a proper and readable function
call.
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/acpi/arm64/iort.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/arm64/iort.c
b/drivers/acpi/arm64/iort.c
index
8fbb9d0
..
c057d36
100644
(file)
--- a/
drivers/acpi/arm64/iort.c
+++ b/
drivers/acpi/arm64/iort.c
@@
-806,7
+806,7
@@
static inline int iort_add_device_replay(const struct iommu_ops *ops,
{
int err = 0;
- if (ops->add_device && dev->bus && !dev
->iommu_group
)
+ if (ops->add_device && dev->bus && !dev
ice_iommu_mapped(dev)
)
err = ops->add_device(dev);
return err;