Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] interconnect: qcom: msm8939: Use icc_sync_state
@ 2022-04-16  1:26 Leo Yan
  2022-04-28  7:19 ` Georgi Djakov
  2022-07-05  7:31 ` Leo Yan
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Yan @ 2022-04-16  1:26 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Georgi Djakov, Bryan O'Donoghue,
	Dmitry Baryshkov, linux-arm-msm, linux-pm, linux-kernel
  Cc: Leo Yan

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>
---
 drivers/interconnect/qcom/msm8939.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/interconnect/qcom/msm8939.c b/drivers/interconnect/qcom/msm8939.c
index f9c2d7d3100d..ca5f611d33b0 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);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-05 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16  1:26 [PATCH] interconnect: qcom: msm8939: Use icc_sync_state Leo Yan
2022-04-28  7:19 ` Georgi Djakov
2022-04-28  8:41   ` Leo Yan
2022-07-05  7:31 ` Leo Yan
2022-07-05 13:58   ` Georgi Djakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox