summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2022-04-16 04:26:34 +0300
committerGeorgi Djakov <djakov@kernel.org>2022-07-05 16:39:48 +0300
commit76a748e2c1aa976d0c7fef872fa6ff93ce334a8a (patch)
treee3c69dac818dadb204a2789e942de08906fa242b
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-76a748e2c1aa976d0c7fef872fa6ff93ce334a8a.tar.xz
interconnect: qcom: msm8939: Use icc_sync_state
It's fashion to use the icc_sync_state callback to notify the framework when all consumers are probed, so that the bandwidth request doesn't need to stay on maximum value. Do the same thing for msm8939 driver. Signed-off-by: Leo Yan <leo.yan@linaro.org> Link: https://lore.kernel.org/r/20220416012634.479617-1-leo.yan@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
-rw-r--r--drivers/interconnect/qcom/msm8939.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/msm8939.c b/drivers/interconnect/qcom/msm8939.c
index 63b31deea722..caf0aefad668 100644
--- a/drivers/interconnect/qcom/msm8939.c
+++ b/drivers/interconnect/qcom/msm8939.c
@@ -1423,6 +1423,7 @@ static struct platform_driver msm8939_noc_driver = {
.driver = {
.name = "qnoc-msm8939",
.of_match_table = msm8939_noc_of_match,
+ .sync_state = icc_sync_state,
},
};
module_platform_driver(msm8939_noc_driver);