Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Martin Kepplinger and committed by
Georgi Djakov
67288f74 6414b79d

+2
+2
drivers/interconnect/imx/imx8mq.c
··· 7 7 8 8 #include <linux/module.h> 9 9 #include <linux/platform_device.h> 10 + #include <linux/interconnect-provider.h> 10 11 #include <dt-bindings/interconnect/imx8mq.h> 11 12 12 13 #include "imx.h" ··· 95 94 .remove = imx8mq_icc_remove, 96 95 .driver = { 97 96 .name = "imx8mq-interconnect", 97 + .sync_state = icc_sync_state, 98 98 }, 99 99 }; 100 100