Liang He 8b42057e62 drm/omap: dss: Fix refcount leak bugs
In dss_init_ports() and __dss_uninit_ports(), we should call
of_node_put() for the reference returned by of_graph_get_port_by_id()
in fail path or when it is not used anymore.

Fixes: 09bffa6e5192 ("drm: omap: use common OF graph helpers")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220722144348.1306569-1-windhl@126.com
2022-09-09 16:23:14 +03:00
..
2020-12-15 16:15:06 +02:00
2020-12-15 16:08:27 +02:00
2022-09-09 16:23:14 +03:00
2022-06-20 23:53:55 +03:00
2022-06-20 23:53:55 +03:00
2020-12-15 16:17:30 +02:00
2020-12-15 16:17:30 +02:00
2020-12-15 16:08:27 +02:00