]> git.baikalelectronics.ru Git - kernel.git/commitdiff
interconnect: qcom: msm8939: Use icc_sync_state
authorLeo Yan <leo.yan@linaro.org>
Sat, 16 Apr 2022 01:26:34 +0000 (09:26 +0800)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 5 Jul 2022 13:39:48 +0000 (16:39 +0300)
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>
drivers/interconnect/qcom/msm8939.c

index 63b31deea722748b306df44edd979442666dae23..caf0aefad6689e294be76a16f0b7978e462c3b1b 100644 (file)
@@ -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);