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

Commit f489c7ad authored by Mike Tipton's avatar Mike Tipton
Browse files

clk: qcom: gpucc-lahaina: Fix "stuck at on" warning



The gpu_cc_hlos1_vote_gpu_smmu_clk clock is votable by multiple masters,
so it won't always turn off when requested, since other masters can
still be voting for it. Change its halt_check to BRANCH_HALT_VOTED to
skip polling for it to turn off.

Change-Id: I8c8a0160a0055b3462c76df3fdd3403e12352e53
Signed-off-by: default avatarMike Tipton <mdtipton@codeaurora.org>
parent d8534164
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -476,7 +476,7 @@ static struct clk_branch gpu_cc_gx_vsense_clk = {

static struct clk_branch gpu_cc_hlos1_vote_gpu_smmu_clk = {
	.halt_reg = 0x5000,
	.halt_check = BRANCH_HALT,
	.halt_check = BRANCH_HALT_VOTED,
	.clkr = {
		.enable_reg = 0x5000,
		.enable_mask = BIT(0),