Re: [PATCH v2] drm/imx/dcss: Add missing of_node_put() in fail path

2022-07-20 Thread Laurentiu Palcu
Hi, On Thu, Jul 14, 2022 at 04:13:37PM +0800, Liang He wrote: > In dcss_dev_create() and dcss_dev_destroy(), we should call of_node_put() > in fail path or before the dcss's destroy as of_graph_get_port_by_id() has > increased the refcount. > > Fixes: 9021c317b770 ("drm/imx: Add initial support

[PATCH v2] drm/imx/dcss: Add missing of_node_put() in fail path

2022-07-14 Thread Liang He
In dcss_dev_create() and dcss_dev_destroy(), we should call of_node_put() in fail path or before the dcss's destroy as of_graph_get_port_by_id() has increased the refcount. Fixes: 9021c317b770 ("drm/imx: Add initial support for DCSS on iMX8MQ") Signed-off-by: Liang He --- changelog: v2: add o