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

Commit 8a2d7719 authored by Mathew Joseph Karimpanal's avatar Mathew Joseph Karimpanal Committed by Gerrit - the friendly Code Review server
Browse files

iommu/arm-smmu: Defer SMMU probe if clock-tree is not ready



A few clocks like gpu_ahb_clk may be available late on some platforms
like on boards that use an I2C-controlled off-SoC power regulator.
Defer SMMU probe if clock-tree is not ready.

CRs-fixed: 971957
Change-Id: I3f13b36affa0a904bda7175d0dacff298794a906
Signed-off-by: default avatarMathew Joseph Karimpanal <mkarim@codeaurora.org>
parent ee833ce5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3203,7 +3203,7 @@ static int arm_smmu_init_clocks(struct arm_smmu_device *smmu)
		if (IS_ERR(c)) {
			dev_err(dev, "Couldn't get clock: %s",
				cname);
			return -ENODEV;
			return PTR_ERR(c);
		}

		if (clk_get_rate(c) == 0) {