diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-07-03 12:11:27 +0300 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2022-07-15 17:53:15 +0300 |
commit | 6eeaf28c798541e97da0ab7c42b537836de082e0 (patch) | |
tree | af78a58349a3250faec89f51f7b00f39da19347c | |
parent | bd734481e172b4827af09c9ab06c51d2ab7201e6 (diff) | |
download | linux-6eeaf28c798541e97da0ab7c42b537836de082e0.tar.xz |
interconnect: imx: set src node
When set QoS for a icc path, only set dst icc node is not enough,
also need to set src icc node.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220703091132.1412063-6-peng.fan@oss.nxp.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
-rw-r--r-- | drivers/interconnect/imx/imx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/interconnect/imx/imx.c b/drivers/interconnect/imx/imx.c index 4406ec45fa90..9b83f69945d8 100644 --- a/drivers/interconnect/imx/imx.c +++ b/drivers/interconnect/imx/imx.c @@ -61,6 +61,12 @@ static int imx_icc_node_set(struct icc_node *node) static int imx_icc_set(struct icc_node *src, struct icc_node *dst) { + int ret; + + ret = imx_icc_node_set(src); + if (ret) + return ret; + return imx_icc_node_set(dst); } |