Skip to content

Commit 000cbe3

Browse files
barni2000andersson
authored andcommitted
clk: qcom: mmcc-sdm660: fix stuck video_subcore0 clock
This clock can't be enable with VENUS_CORE0 GDSC turned off. But that GDSC is under HW control so it can be turned off at any moment. Instead of checking the dependent clock we can just vote for it to enable later when GDSC gets turned on. Fixes: 5db3ae8 ("clk: qcom: Add SDM660 Multimedia Clock Controller (MMCC) driver") Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org> Link: https://lore.kernel.org/r/20250315-clock-fix-v1-1-2efdc4920dda@mainlining.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent d547913 commit 000cbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/mmcc-sdm660.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@ static struct clk_branch video_core_clk = {
25402540

25412541
static struct clk_branch video_subcore0_clk = {
25422542
.halt_reg = 0x1048,
2543-
.halt_check = BRANCH_HALT,
2543+
.halt_check = BRANCH_HALT_SKIP,
25442544
.clkr = {
25452545
.enable_reg = 0x1048,
25462546
.enable_mask = BIT(0),

0 commit comments

Comments
 (0)