Skip to content

Commit

Permalink
clk: qcom: gpucc-sm6375: Configure CX_GDSC disable wait value
Browse files Browse the repository at this point in the history
Configure the disable wait value on the CX GDSC to ensure we don't get
any undefined behavior. This was omitted when first adding the driver.

Fixes: 8397e24 ("clk: qcom: Add GPU clock controller driver for SM6375")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230329140135.2178957-1-konrad.dybcio@linaro.org
  • Loading branch information
Konrad Dybcio authored and Bjorn Andersson committed Apr 7, 2023
1 parent 996c32b commit 93f21d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/qcom/gpucc-sm6375.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ static struct clk_branch gpucc_sleep_clk = {
static struct gdsc gpu_cx_gdsc = {
.gdscr = 0x106c,
.gds_hw_ctrl = 0x1540,
.clk_dis_wait_val = 8,
.pd = {
.name = "gpu_cx_gdsc",
},
Expand Down

0 comments on commit 93f21d9

Please sign in to comment.