Commit 67288f74 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Georgi Djakov

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: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Suggested-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Fixes: 7d3b0b0d ("interconnect: qcom: Use icc_sync_state")
Link: https://lore.kernel.org/r/20201210100906.18205-6-martin.kepplinger@puri.smSigned-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent 6414b79d
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/interconnect-provider.h>
#include <dt-bindings/interconnect/imx8mq.h> #include <dt-bindings/interconnect/imx8mq.h>
#include "imx.h" #include "imx.h"
...@@ -94,6 +95,7 @@ static struct platform_driver imx8mq_icc_driver = { ...@@ -94,6 +95,7 @@ static struct platform_driver imx8mq_icc_driver = {
.remove = imx8mq_icc_remove, .remove = imx8mq_icc_remove,
.driver = { .driver = {
.name = "imx8mq-interconnect", .name = "imx8mq-interconnect",
.sync_state = icc_sync_state,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment