[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191217171205.5492-1-jeffrey.l.hugo@gmail.com>
Date: Tue, 17 Dec 2019 09:12:05 -0800
From: Jeffrey Hugo <jeffrey.l.hugo@...il.com>
To: mturquette@...libre.com, sboyd@...nel.org
Cc: agross@...nel.org, bjorn.andersson@...aro.org,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jeffrey Hugo <jeffrey.l.hugo@...il.com>
Subject: [PATCH] clk: qcom: Make gcc_gpu_cfg_ahb_clk critical
Mark gcc_gpu_cfg_ahb_clk as critical on msm8998 because gpucc cannot be
accessed without it.
Fixes: b5f5f525c547 ("clk: qcom: Add MSM8998 Global Clock Control (GCC) driver")
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@...il.com>
---
drivers/clk/qcom/gcc-msm8998.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
index df1d7056436c..26cc1458ce4a 100644
--- a/drivers/clk/qcom/gcc-msm8998.c
+++ b/drivers/clk/qcom/gcc-msm8998.c
@@ -2044,6 +2044,7 @@ static struct clk_branch gcc_gpu_cfg_ahb_clk = {
.hw.init = &(struct clk_init_data){
.name = "gcc_gpu_cfg_ahb_clk",
.ops = &clk_branch2_ops,
+ .flags = CLK_IS_CRITICAL, /* to access gpucc */
},
},
};
--
2.17.1
Powered by blists - more mailing lists