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

Commit 4aca2f38 authored by AnilKumar Chimata's avatar AnilKumar Chimata
Browse files

qseecom: Fix clock get failures



Pass the device node with of_node to clk_get(), to get the clock struct.
This patch fixes the issue by passing proper device handle with of_node
to clock APIs to get the appropriate clock node.

Change-Id: I01a2caf7d86a4399b1bb4a455ef8ecbbad5ad9a2
Signed-off-by: default avatarAnilKumar Chimata <anilc@codeaurora.org>
parent 59acb37c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4274,6 +4274,7 @@ static int qseecom_probe(struct platform_device *pdev)

	/* register client for bus scaling */
	if (pdev->dev.of_node) {
		qseecom.pdev->of_node = pdev->dev.of_node;
		qseecom.support_bus_scaling =
				of_property_read_bool((&pdev->dev)->of_node,
						"qcom,support-bus-scaling");