summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/gcc-sc7180.c
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2019-12-04 23:04:12 +0300
committerStephen Boyd <sboyd@kernel.org>2019-12-19 08:35:58 +0300
commit8d20c39f063ed33012d7461c77fd5b89665e5163 (patch)
tree27aee989a638d55d08d9961e20fcd20d08c18f3c /drivers/clk/qcom/gcc-sc7180.c
parentc771256ee7a03d3fb3c0443319ae6249c455849d (diff)
downloadlinux-8d20c39f063ed33012d7461c77fd5b89665e5163.tar.xz
clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
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> Link: https://lkml.kernel.org/r/20191204120341.1.I9971817e83ee890d1096c43c5a6ce6ced53d5bd3@changeid Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-sc7180.c')
-rw-r--r--drivers/clk/qcom/gcc-sc7180.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c
index 38424e63bcae..7f59fb8da033 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[] = {