Skip to content

Commit

Permalink
clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
Browse files Browse the repository at this point in the history
Commit 1726956 ("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: 1726956 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lkml.kernel.org/r/20191204120341.1.I9971817e83ee890d1096c43c5a6ce6ced53d5bd3@changeid
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Matthias Kaehlcke authored and Stephen Boyd committed Dec 19, 2019
1 parent c771256 commit 8d20c39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/clk/qcom/gcc-sc7180.c
Original file line number Diff line number Diff line change
Expand Up @@ -2186,15 +2186,17 @@ 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 = {
.gdscr = 0x7d044,
.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[] = {
Expand Down

0 comments on commit 8d20c39

Please sign in to comment.