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

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

Merge "iommu: arm-smmu: fix device remove cleanup"

parents a9222508 56c447b7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4864,6 +4864,10 @@ static int arm_smmu_device_remove(struct platform_device *pdev)

	arm_smmu_exit_power_resources(smmu->pwr);

	spin_lock(&arm_smmu_devices_lock);
	list_del(&smmu->list);
	spin_unlock(&arm_smmu_devices_lock);

	return 0;
}