Skip to content

Commit 9906c41

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: mmcc-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. Fixes: d14b15b ("clk: qcom: Add MSM8998 Multimedia Clock Controller (MMCC) driver") 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 f7b7d30 commit 9906c41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/clk/qcom/mmcc-msm8998.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,6 +2439,7 @@ static struct clk_branch fd_ahb_clk = {
24392439

24402440
static struct clk_branch mnoc_ahb_clk = {
24412441
.halt_reg = 0x5024,
2442+
.halt_check = BRANCH_HALT_SKIP,
24422443
.clkr = {
24432444
.enable_reg = 0x5024,
24442445
.enable_mask = BIT(0),
@@ -2454,6 +2455,7 @@ static struct clk_branch mnoc_ahb_clk = {
24542455

24552456
static struct clk_branch bimc_smmu_ahb_clk = {
24562457
.halt_reg = 0xe004,
2458+
.halt_check = BRANCH_HALT_SKIP,
24572459
.hwcg_reg = 0xe004,
24582460
.hwcg_bit = 1,
24592461
.clkr = {
@@ -2471,6 +2473,7 @@ static struct clk_branch bimc_smmu_ahb_clk = {
24712473

24722474
static struct clk_branch bimc_smmu_axi_clk = {
24732475
.halt_reg = 0xe008,
2476+
.halt_check = BRANCH_HALT_SKIP,
24742477
.hwcg_reg = 0xe008,
24752478
.hwcg_bit = 1,
24762479
.clkr = {

0 commit comments

Comments
 (0)