Skip to content

Commit a6f1e86

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: gcc-msm8998: Don't check halt bit on some branch clks
Some branch clocks are governed externally and we're only supposed to send a request concerning their shutdown, not actually ensure it happens. Use the BRANCH_HALT_SKIP define to skip checking the halt bit. Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 03f1b83 commit a6f1e86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/clk/qcom/gcc-msm8998.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ static struct clk_branch gcc_gp3_clk = {
21122112

21132113
static struct clk_branch gcc_bimc_gfx_clk = {
21142114
.halt_reg = 0x46040,
2115-
.halt_check = BRANCH_HALT,
2115+
.halt_check = BRANCH_HALT_SKIP,
21162116
.clkr = {
21172117
.enable_reg = 0x46040,
21182118
.enable_mask = BIT(0),
@@ -2125,7 +2125,7 @@ static struct clk_branch gcc_bimc_gfx_clk = {
21252125

21262126
static struct clk_branch gcc_gpu_bimc_gfx_clk = {
21272127
.halt_reg = 0x71010,
2128-
.halt_check = BRANCH_HALT,
2128+
.halt_check = BRANCH_HALT_SKIP,
21292129
.clkr = {
21302130
.enable_reg = 0x71010,
21312131
.enable_mask = BIT(0),
@@ -2151,7 +2151,7 @@ static struct clk_branch gcc_gpu_bimc_gfx_src_clk = {
21512151

21522152
static struct clk_branch gcc_gpu_cfg_ahb_clk = {
21532153
.halt_reg = 0x71004,
2154-
.halt_check = BRANCH_HALT,
2154+
.halt_check = BRANCH_HALT_SKIP,
21552155
.clkr = {
21562156
.enable_reg = 0x71004,
21572157
.enable_mask = BIT(0),

0 commit comments

Comments
 (0)