summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect
diff options
context:
space:
mode:
authorMartin Kepplinger <martin.kepplinger@puri.sm>2020-12-28 14:03:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 11:55:29 +0100
commiteb5381efaf367e7976c9f337a507f7529f964917 (patch)
tree74116c9985db0e5d1c79678c0acb0af5ace095ba /drivers/interconnect
parent0b6672fd778cd92caed7206ba520a3f056d10484 (diff)
downloadlinux-stable-eb5381efaf367e7976c9f337a507f7529f964917.tar.gz
linux-stable-eb5381efaf367e7976c9f337a507f7529f964917.tar.bz2
linux-stable-eb5381efaf367e7976c9f337a507f7529f964917.zip
interconnect: imx8mq: Use icc_sync_state
commit 67288f74d4837b82ef937170da3389b0779c17be upstream. 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: 7d3b0b0d8184 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/interconnect')
-rw-r--r--drivers/interconnect/imx/imx8mq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/interconnect/imx/imx8mq.c b/drivers/interconnect/imx/imx8mq.c
index ba43a15aefec..d7768d3c6d8a 100644
--- a/drivers/interconnect/imx/imx8mq.c
+++ b/drivers/interconnect/imx/imx8mq.c
@@ -7,6 +7,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
+#include <linux/interconnect-provider.h>
#include <dt-bindings/interconnect/imx8mq.h>
#include "imx.h"
@@ -94,6 +95,7 @@ static struct platform_driver imx8mq_icc_driver = {
.remove = imx8mq_icc_remove,
.driver = {
.name = "imx8mq-interconnect",
+ .sync_state = icc_sync_state,
},
};