mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
interconnect: imx8mq: Use icc_sync_state
commit67288f74d4upstream. 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:7d3b0b0d81("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0b6672fd77
commit
eb5381efaf
@@ -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 = {
|
|||||||
.remove = imx8mq_icc_remove,
|
.remove = imx8mq_icc_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "imx8mq-interconnect",
|
.name = "imx8mq-interconnect",
|
||||||
|
.sync_state = icc_sync_state,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user