soc: qcom: rpmhpd: sm8450: Add the missing .peer for sm8450_cx_ao
authorRajendra Nayak <quic_rjendra@quicinc.com>
Thu, 9 Dec 2021 15:31:54 +0000 (21:01 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Dec 2021 01:10:11 +0000 (19:10 -0600)
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@linaro.org>
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1639063917-9011-2-git-send-email-quic_rjendra@quicinc.com
drivers/soc/qcom/rpmhpd.c

index e7e150ce1b1a09e62192d0ff2b5f70404a6be003..2032cf355e52a117b98c20ffbe6cae2c24993768 100644 (file)
@@ -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",
 };