Skip to content

Commit 67288f7

Browse files
mergeGeorgi Djakov
authored andcommitted
interconnect: imx8mq: Use icc_sync_state
Add the icc_sync_state callback to notify the framework when consumers are probed and the bandwidth doesn't have to be kept at maximum anymore. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Suggested-by: Georgi Djakov <georgi.djakov@linaro.org> Fixes: 7d3b0b0 ("interconnect: qcom: Use icc_sync_state") Link: https://lore.kernel.org/r/20201210100906.18205-6-martin.kepplinger@puri.sm Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
1 parent 6414b79 commit 67288f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/interconnect/imx/imx8mq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <linux/module.h>
99
#include <linux/platform_device.h>
10+
#include <linux/interconnect-provider.h>
1011
#include <dt-bindings/interconnect/imx8mq.h>
1112

1213
#include "imx.h"
@@ -94,6 +95,7 @@ static struct platform_driver imx8mq_icc_driver = {
9495
.remove = imx8mq_icc_remove,
9596
.driver = {
9697
.name = "imx8mq-interconnect",
98+
.sync_state = icc_sync_state,
9799
},
98100
};
99101

0 commit comments

Comments
 (0)