X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fiommu%2Fof_iommu.c;h=dbe73456f1a19a11c11725ccf9c730a388ec7494;hb=170ecbd5ff09aa9c8c1025a8563f76e01a24bb50;hp=8b071f3dcf9ef38e80f74d956bdb323e018110e4;hpb=dbba197edf32209d110727a02d3a91de4c88520f;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c index 8b071f3..dbe7345 100644 --- a/drivers/iommu/of_iommu.c +++ b/drivers/iommu/of_iommu.c @@ -224,7 +224,7 @@ const struct iommu_ops *of_iommu_configure(struct device *dev, * If we have reason to believe the IOMMU driver missed the initial * add_device callback for dev, replay it to get things in order. */ - if (ops && ops->add_device && dev->bus && !dev->iommu_group) + if (ops && ops->add_device && dev->bus && !device_iommu_mapped(dev)) err = ops->add_device(dev); /* Ignore all other errors apart from EPROBE_DEFER */