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

Commit 2e9bb33e authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: arm-smmu: enable clocks and regulators in smmu detach"

parents c4740028 7c1cd10a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -2346,14 +2346,14 @@ static void arm_smmu_detach_dev(struct iommu_domain *domain,
		return;
	}

	arm_smmu_domain_remove_master(smmu_domain, fwspec);
	if (atomic_domain)
		arm_smmu_power_on_atomic(smmu->pwr);
	else
		arm_smmu_power_on(smmu->pwr);

	/* Remove additional vote for atomic power */
	if (atomic_domain) {
		WARN_ON(arm_smmu_power_on_atomic(smmu->pwr));
	arm_smmu_domain_remove_master(smmu_domain, fwspec);
	arm_smmu_power_off(smmu->pwr);
}
}

static int arm_smmu_assign_table(struct arm_smmu_domain *smmu_domain)
{