[PATCH v3 1/4] soc: qcom: rpmhpd: sm8450: Add the missing .peer for sm8450_cx_ao

From: Rajendra Nayak
Date: Thu Dec 09 2021 - 10:32:31 EST


sm8450_cx and sm8450_cx_ao should be peers of each other, add the
missing .peer entry for sm8450_cx_ao

Cc: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Cc: Vinod Koul <vkoul@xxxxxxxxxx>
Signed-off-by: Rajendra Nayak <quic_rjendra@xxxxxxxxxxx>
---
drivers/soc/qcom/rpmhpd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index e7e150c..2032cf3 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -264,6 +264,7 @@ static struct rpmhpd sm8450_cx = {
static struct rpmhpd sm8450_cx_ao = {
.pd = { .name = "cx_ao", },
.active_only = true,
+ .peer = &sm8450_cx,
.res_name = "cx.lvl",
};

--
2.7.4