Re: [PATCH] soc: fsl: Add missing of_node_put() after using device_node

2024-11-13 Thread Christophe Leroy
Hi, Le 06/11/2024 à 08:11, Zhang Zekun a écrit : of_find_compatible_node() will increase the refcount of the device_node. Decrease the refcount once finish using it. Fixes: e95f287deed2 ("soc: fsl: handle RCPM errata A-008646 on SoC LS1021A") Signed-off-by: Zhang Zekun Your patch is redundan

[PATCH] soc: fsl: Add missing of_node_put() after using device_node

2024-11-05 Thread Zhang Zekun
of_find_compatible_node() will increase the refcount of the device_node. Decrease the refcount once finish using it. Fixes: e95f287deed2 ("soc: fsl: handle RCPM errata A-008646 on SoC LS1021A") Signed-off-by: Zhang Zekun --- drivers/soc/fsl/rcpm.c | 1 + 1 file changed, 1 insertion(+) diff --gi