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

Commit 4280f415 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: clk-cpu-osm: Vote on the L3 cluster clocks enable



Due to the way the voter clock framework is structured, the
rate requests for the L3 cluster clocks would not make it to
the parent l3_clk unless they are enabled. Place a proxy vote
on the cluster clocks so that the client drivers who only care
about scaling them needn't enable them explicitly.

Change-Id: I0b4a9871c0506695241077de1d4da62b6178acbc
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 9b5c8a26
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3294,8 +3294,10 @@ static int clk_cpu_osm_driver_probe(struct platform_device *pdev)
			rc);
		goto provider_err;
	}
	WARN(clk_prepare_enable(l3_clk.hw.clk),
		     "clk: Failed to enable clock for L3\n");
	WARN(clk_prepare_enable(l3_cluster0_vote_clk.hw.clk),
		     "clk: Failed to enable cluster0 clock for L3\n");
	WARN(clk_prepare_enable(l3_cluster1_vote_clk.hw.clk),
		     "clk: Failed to enable cluster1 clock for L3\n");
	udelay(300);

	/* Configure default rate to lowest frequency */