mirror of
https://github.com/torvalds/linux
synced 2024-10-08 12:22:38 +00:00
clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
Commit17269568f7
("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:17269568f7
("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>
This commit is contained in:
parent
c771256ee7
commit
8d20c39f06
|
@ -2186,7 +2186,8 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {
|
||||||
.pd = {
|
.pd = {
|
||||||
.name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc",
|
.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 = {
|
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 = {
|
.pd = {
|
||||||
.name = "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc",
|
.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[] = {
|
static struct gdsc *gcc_sc7180_gdscs[] = {
|
||||||
|
|
Loading…
Reference in a new issue