linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
@ 2019-12-04 20:04 Matthias Kaehlcke
  2019-12-19  5:36 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kaehlcke @ 2019-12-04 20:04 UTC (permalink / raw)
  To: Andy Gross, Stephen Boyd, Michael Turquette
  Cc: linux-arm-msm, Taniya Das, Douglas Anderson, linux-clk,
	linux-kernel, Matthias Kaehlcke

Commit 17269568f7267 ("clk: qcom: Add Global Clock controller (GCC)
driver for SC7180") sets the VOTABLE flag in .pwrsts, but it needs
to be set in .flags, fix this.

Fixes: 17269568f7267 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---

 drivers/clk/qcom/gcc-sc7180.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c
index 38424e63bcae2..7f59fb8da0337 100644
--- a/drivers/clk/qcom/gcc-sc7180.c
+++ b/drivers/clk/qcom/gcc-sc7180.c
@@ -2186,7 +2186,8 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {
 	.pd = {
 		.name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc",
 	},
-	.pwrsts = PWRSTS_OFF_ON | VOTABLE,
+	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf_gdsc = {
@@ -2194,7 +2195,8 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf_gdsc = {
 	.pd = {
 		.name = "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc",
 	},
-	.pwrsts = PWRSTS_OFF_ON | VOTABLE,
+	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc *gcc_sc7180_gdscs[] = {
-- 
2.24.0.393.g34dc348eaf-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
  2019-12-04 20:04 [PATCH] clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs Matthias Kaehlcke
@ 2019-12-19  5:36 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-12-19  5:36 UTC (permalink / raw)
  To: Andy Gross, Matthias Kaehlcke, Michael Turquette
  Cc: linux-arm-msm, Taniya Das, Douglas Anderson, linux-clk,
	linux-kernel, Matthias Kaehlcke

Quoting Matthias Kaehlcke (2019-12-04 12:04:12)
> Commit 17269568f7267 ("clk: qcom: Add Global Clock controller (GCC)
> driver for SC7180") sets the VOTABLE flag in .pwrsts, but it needs
> to be set in .flags, fix this.
> 
> Fixes: 17269568f7267 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180")
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---

Applied to clk-fixes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-19  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 20:04 [PATCH] clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs Matthias Kaehlcke
2019-12-19  5:36 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).