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

Commit 687b0783 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/arm-smmu: Add missing iommu_device_unregister()"

parents 2b9c58c7 fa1dabd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4833,6 +4833,7 @@ static int arm_smmu_device_remove(struct platform_device *pdev)
		dev_err(&pdev->dev, "removing device with active domains!\n");

	arm_smmu_bus_init(NULL);
	iommu_device_unregister(&smmu->iommu);
	idr_destroy(&smmu->asid_idr);

	/* Turn the thing off */