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

Commit f3555c12 authored by Diptanshu Jamgade's avatar Diptanshu Jamgade Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: Add CLK_ENABLE_HAND_OFF flag for sdcc1_apps_clk for TRINKET



Add CLK_ENABLE_HAND_OFF flag for sdcc1_apps_clk to keep a proxy vote
for the clock during the clock registration. The proxy vote is removed
in late_init if no client has voted for it.

Change-Id: I718b134cc466e18c20bb34a0fc7dd3f6712f9636
Signed-off-by: default avatarDiptanshu Jamgade <djamgade@codeaurora.org>
parent 5c051187
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1394,7 +1394,6 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
		.ops = &clk_rcg2_ops,
		.vdd_class = &vdd_cx,
		.num_rate_max = VDD_NUM,
		.flags = CLK_SET_RATE_UNGATE,
		.rate_max = (unsigned long[VDD_NUM]) {
			[VDD_LOWER] = 100000000,
			[VDD_NOMINAL] = 384000000},
@@ -3684,7 +3683,7 @@ static struct clk_branch gcc_sdcc1_apps_clk = {
				"gcc_sdcc1_apps_clk_src",
			},
			.num_parents = 1,
			.flags = CLK_SET_RATE_PARENT,
			.flags = CLK_SET_RATE_PARENT | CLK_ENABLE_HAND_OFF,
			.ops = &clk_branch2_ops,
		},
	},