mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "iommu/arm-smmu: Add missing iommu_device_unregister()"
This commit is contained in:
commit
687b078378
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue