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

Commit 4d5f8551 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: Allow parsing multiple regulators from devicetree" into msm-4.9

parents 3154ed36 86396beb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3341,7 +3341,7 @@ static int arm_smmu_init_regulators(struct arm_smmu_power_resources *pwr)
	i = 0;
	of_property_for_each_string(dev->of_node, "qcom,regulator-names",
				prop, cname)
		pwr->gdscs[i].supply = cname;
		pwr->gdscs[i++].supply = cname;

	ret = devm_regulator_bulk_get(dev, pwr->num_gdscs, pwr->gdscs);
	return ret;