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

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

Merge "qcom: pil: Setup regulators and clocks only if no-auth flag is not set"

parents 398ee4b5 b97a10d9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -861,10 +861,6 @@ static int pil_tz_driver_probe(struct platform_device *pdev)
		return -ENOMEM;
	platform_set_drvdata(pdev, d);

	rc = piltz_resc_init(pdev, d);
	if (rc)
		return -ENOENT;

	if (of_property_read_bool(pdev->dev.of_node, "qcom,pil-no-auth"))
		d->subsys_desc.no_auth = true;

@@ -897,6 +893,10 @@ static int pil_tz_driver_probe(struct platform_device *pdev)
		d->desc.proxy_timeout = proxy_timeout;

	if (!d->subsys_desc.no_auth) {
		rc = piltz_resc_init(pdev, d);
		if (rc)
			return -ENOENT;

		rc = of_property_read_u32(pdev->dev.of_node, "qcom,pas-id",
								&d->pas_id);
		if (rc) {