Skip to content

Commit 7d3b0b0

Browse files
author
Georgi Djakov
committed
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/[email protected] Reviewed-by: Saravana Kannan <[email protected]> Signed-off-by: Georgi Djakov <[email protected]>
1 parent b1d681d commit 7d3b0b0

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/interconnect/qcom/osm-l3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ static struct platform_driver osm_l3_driver = {
268268
.driver = {
269269
.name = "osm-l3",
270270
.of_match_table = osm_l3_of_match,
271+
.sync_state = icc_sync_state,
271272
},
272273
};
273274
module_platform_driver(osm_l3_driver);

drivers/interconnect/qcom/sc7180.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ static struct platform_driver qnoc_driver = {
633633
.driver = {
634634
.name = "qnoc-sc7180",
635635
.of_match_table = qnoc_of_match,
636+
.sync_state = icc_sync_state,
636637
},
637638
};
638639
module_platform_driver(qnoc_driver);

drivers/interconnect/qcom/sdm845.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ static struct platform_driver qnoc_driver = {
559559
.driver = {
560560
.name = "qnoc-sdm845",
561561
.of_match_table = qnoc_of_match,
562+
.sync_state = icc_sync_state,
562563
},
563564
};
564565
module_platform_driver(qnoc_driver);

0 commit comments

Comments
 (0)