linux-stable/drivers/interconnect/imx
Peng Fan a6a7f80e62 interconnect: imx: fix max_node_id
[ Upstream commit bd734481e1 ]

max_node_id not equal to the ARRAY_SIZE of node array, need increase 1,
otherwise xlate will fail for the last entry. And rename max_node_id
to num_nodes to reflect the reality.

Fixes: f0d8048525 ("interconnect: Add imx core driver")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220703091132.1412063-5-peng.fan@oss.nxp.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:16:00 +02:00
..
imx.c interconnect: imx: fix max_node_id 2022-08-21 15:16:00 +02:00
imx.h
imx8mm.c
imx8mn.c
imx8mq.c
Kconfig
Makefile