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

Commit 0adbcf11 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: pil: Correct memory-region of_node reference counting"

parents 93ac3b0b bdadd5e0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -779,6 +779,7 @@ static int pil_alloc_region(struct pil_priv *priv, phys_addr_t min_addr,
	}

	ret = of_address_to_resource(mem_node, 0, &res);
	of_node_put(mem_node);
	if (ret < 0) {
		pil_err(priv->desc, "Failed to get the resource\n");
		goto err;