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

Commit e7ee4873 authored by Patrick Daly's avatar Patrick Daly
Browse files

msm: clock-krypton: Correct bam-dma-inactivity clock type



This clock is votable by several masters. Do not use the CBCR register
to turn the clock on and off.

Change-Id: I905f04721ea42969de91e35b7b8530025cb264a3
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent ac95e480
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -959,13 +959,14 @@ static struct local_vote_clk gcc_bam_dma_ahb_clk = {
	},
};

static struct branch_clk gcc_bam_dma_inactivity_timers_clk = {
static struct local_vote_clk gcc_bam_dma_inactivity_timers_clk = {
	.cbcr_reg = BAM_DMA_INACTIVITY_TIMERS_CBCR,
	.has_sibling = 1,
	.vote_reg = APCS_CLOCK_BRANCH_ENA_VOTE,
	.en_mask = BIT(11),
	.base = &virt_bases[GCC_BASE],
	.c = {
		.dbg_name = "gcc_bam_dma_inactivity_timers_clk",
		.ops = &clk_ops_branch,
		.ops = &clk_ops_vote,
		CLK_INIT(gcc_bam_dma_inactivity_timers_clk.c),
	},
};