aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/interconnect/qcom/sdm845.c
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2020-08-25 20:01:52 +0300
committerGeorgi Djakov <georgi.djakov@linaro.org>2020-09-18 08:57:18 +0300
commit7d3b0b0d8184ce4a20fd9f48cd12484139bec939 (patch)
treece52a4b5e00815cc28de4a5a6c98699f21e4a813 /drivers/interconnect/qcom/sdm845.c
parentinterconnect: Add sync state support (diff)
downloadwireguard-linux-7d3b0b0d8184ce4a20fd9f48cd12484139bec939.tar.xz
wireguard-linux-7d3b0b0d8184ce4a20fd9f48cd12484139bec939.zip
interconnect: qcom: Use icc_sync_state
Lowering the bandwidth on the bus might have negative consequences if it's done before all consumers had a chance to cast their vote. Now by default the framework sets the bandwidth to maximum during boot. We need to use the icc_sync_state callback to notify the framework when all consumers are probed and there is no need to keep the bandwidth set to maximum anymore. Link: https://lore.kernel.org/r/20200825170152.6434-4-georgi.djakov@linaro.org Reviewed-by: Saravana Kannan <saravanak@google.com> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/interconnect/qcom/sdm845.c')
-rw-r--r--drivers/interconnect/qcom/sdm845.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom/sdm845.c
index f6c7b969520d..6aa39aad2555 100644
--- a/drivers/interconnect/qcom/sdm845.c
+++ b/drivers/interconnect/qcom/sdm845.c
@@ -559,6 +559,7 @@ static struct platform_driver qnoc_driver = {
.driver = {
.name = "qnoc-sdm845",
.of_match_table = qnoc_of_match,
+ .sync_state = icc_sync_state,
},
};
module_platform_driver(qnoc_driver);