Re: [PATCH 2/3] drm/mediatek: ovl_adaptor: add missing of_node_put()

2024-08-11 Thread 胡俊光

[PATCH 2/3] drm/mediatek: ovl_adaptor: add missing of_node_put()

2024-06-24 Thread Javier Carrasco
Error paths that exit for_each_child_of_node() need to call of_node_put() to decerement the child refcount and avoid memory leaks. Add the missing of_node_put(). Cc: sta...@vger.kernel.org Fixes: 453c3364632a ("drm/mediatek: Add ovl_adaptor support for MT8195") Signed-off-by: Javier Carrasco ---