Skip to content
Commit 9afdf98c authored by Liang He's avatar Liang He Committed by Philipp Zabel
Browse files

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



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: 17e05217 ("gpu: ipu-v3: Do not bail out on missing optional port nodes")
Signed-off-by: default avatarLiang He <windhl@126.com>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220720152227.1288413-1-windhl@126.com


Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220720152227.1288413-1-windhl@126.com
parent cfca7897
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment