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

Commit 801e65d7 authored by Runmin Wang's avatar Runmin Wang
Browse files

soc: qcom: pil: Fix the parsing of the proxy-unvote irq



"proxy_unvote" irq is a name under property "interrupt-names" so
fix the device tree reading using the correct API.

Change-Id: I06cb9e33ac052def99adeb40c381ce3a073bbb18
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 835f3675
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -738,9 +738,9 @@ static int pil_parse_devicetree(struct pil_desc *desc)
		pr_debug("Unable to read the addr-protect-id for %s\n",
					desc->name);

	if (desc->ops->proxy_unvote && of_find_property(ofnode,
					"qcom,proxy-unvote",
					NULL)) {
	if (desc->ops->proxy_unvote &&
			of_property_match_string(ofnode, "interrupt-names",
				"qcom,proxy-unvote") >= 0) {
		clk_ready = of_irq_get_byname(ofnode,
				"qcom,proxy-unvote");