Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f94989aa authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm: mm: dma-mapping: Use iommu_attach_group"

parents 34c5814e 3281dc68
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2483,7 +2483,10 @@ static int __arm_iommu_attach_device(struct device *dev,
{
	int err;

	err = iommu_attach_device(mapping->domain, dev);
	if (!dev->iommu_group)
		return -EINVAL;

	err = iommu_attach_group(mapping->domain, dev->iommu_group);
	if (err)
		return err;