Commit 5d0d4d42 authored by Douglas Anderson's avatar Douglas Anderson Committed by Bjorn Andersson

soc: qcom: rpmhpd: Set 'active_only' for active only power domains

The 'active_only' attribute was accidentally never set to true for any
power domains meaning that all the code handling this attribute was
dead.

NOTE that the RPM power domain code (as opposed to the RPMh one) gets
this right.
Acked-by: default avatarRajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Fixes: 279b7e8a ("soc: qcom: rpmhpd: Add RPMh power domain driver")
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20190214173633.211000-1-dianders@chromium.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent a6a0bc7c
...@@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = { ...@@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = {
static struct rpmhpd sdm845_mx_ao = { static struct rpmhpd sdm845_mx_ao = {
.pd = { .name = "mx_ao", }, .pd = { .name = "mx_ao", },
.active_only = true,
.peer = &sdm845_mx, .peer = &sdm845_mx,
.res_name = "mx.lvl", .res_name = "mx.lvl",
}; };
...@@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = { ...@@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = {
static struct rpmhpd sdm845_cx_ao = { static struct rpmhpd sdm845_cx_ao = {
.pd = { .name = "cx_ao", }, .pd = { .name = "cx_ao", },
.active_only = true,
.peer = &sdm845_cx, .peer = &sdm845_cx,
.parent = &sdm845_mx_ao.pd, .parent = &sdm845_mx_ao.pd,
.res_name = "cx.lvl", .res_name = "cx.lvl",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment