Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d7af9b1 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

drm/omap: dss: Fix refcount leak bugs



[ Upstream commit 8b42057e62120813ebe9274f508fa785b7cab33a ]

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: 09bffa6e ("drm: omap: use common OF graph helpers")
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220722144348.1306569-1-windhl@126.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0c55618a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment