summaryrefslogtreecommitdiff
path: root/drivers/interconnect/qcom/sc7180.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-30 13:25:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-30 13:25:58 +0100
commitd1b35d66f48f926062dc81134ebd8ab93d71e61d (patch)
tree8d361144f2400c2407a67921edab6b204941cbd5 /drivers/interconnect/qcom/sc7180.c
parent80624263fa289b3416f7ca309491f1b75e579477 (diff)
parentfce52ad3483281930dc9215a68d69837f219f889 (diff)
downloadlwn-d1b35d66f48f926062dc81134ebd8ab93d71e61d.tar.gz
lwn-d1b35d66f48f926062dc81134ebd8ab93d71e61d.zip
Merge tag 'icc-5.10-rc2' of https://git.linaro.org/people/georgi.djakov/linux into char-misc-linus
Georgi writes: interconnect fixes for v5.10 This contains one core fix and a few driver fixes. - Fix the core to perform also aggregation when setting the initial bandwidth with sync_state. - Fixes in some drivers to make sure the correct sequence is used for initialization when we use sync_state. - Fix in the sdm845 driver to prevent a board hang that was hit when bandwidth scaling for display and multimedia was enabled. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> * tag 'icc-5.10-rc2' of https://git.linaro.org/people/georgi.djakov/linux: interconnect: qcom: use icc_sync state for sm8[12]50 interconnect: qcom: Ensure that the floor bandwidth value is enforced interconnect: qcom: sc7180: Init BCMs before creating the nodes interconnect: qcom: sdm845: Init BCMs before creating the nodes interconnect: Aggregate before setting initial bandwidth interconnect: qcom: sdm845: Enable keepalive for the MM1 BCM
Diffstat (limited to 'drivers/interconnect/qcom/sc7180.c')
-rw-r--r--drivers/interconnect/qcom/sc7180.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c
index bf11b82ed55c..8d9044ed18ab 100644
--- a/drivers/interconnect/qcom/sc7180.c
+++ b/drivers/interconnect/qcom/sc7180.c
@@ -553,6 +553,9 @@ static int qnoc_probe(struct platform_device *pdev)
return ret;
}
+ for (i = 0; i < qp->num_bcms; i++)
+ qcom_icc_bcm_init(qp->bcms[i], &pdev->dev);
+
for (i = 0; i < num_nodes; i++) {
size_t j;
@@ -576,9 +579,6 @@ static int qnoc_probe(struct platform_device *pdev)
}
data->num_nodes = num_nodes;
- for (i = 0; i < qp->num_bcms; i++)
- qcom_icc_bcm_init(qp->bcms[i], &pdev->dev);
-
platform_set_drvdata(pdev, qp);
return 0;