[PATCH] gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()

Philipp Zabel p.zabel at pengutronix.de
Fri Dec 16 17:19:33 UTC 2022


On Mi, 2022-07-20 at 23:22 +0800, Liang He wrote:
> In ipu_add_client_devices(), we need to call of_node_put() for
> reference returned by of_graph_get_port_by_id() in fail path.
> 
> Fixes: 17e052175039 ("gpu: ipu-v3: Do not bail out on missing optional port nodes")
> Signed-off-by: Liang He <windhl at 126.com>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the dri-devel mailing list