Skip to content

Commit

Permalink
clk: qcom: mmcc-sdm660: fix stuck video_subcore0 clock
Browse files Browse the repository at this point in the history
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 dependant clock we can just vote for it to
enable later when GDSC gets turned on.

Signed-off-by: Barnabás Czémán <[email protected]>
  • Loading branch information
barni2000 authored and minlexx committed Oct 6, 2024
1 parent 4800b6e commit f5b0f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/qcom/mmcc-sdm660.c
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,7 @@ static struct clk_branch video_core_clk = {

static struct clk_branch video_subcore0_clk = {
.halt_reg = 0x1048,
.halt_check = BRANCH_HALT,
.halt_check = BRANCH_HALT_SKIP,
.clkr = {
.enable_reg = 0x1048,
.enable_mask = BIT(0),
Expand Down

0 comments on commit f5b0f88

Please sign in to comment.