Skip to content
Commit d82a5a4a authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Neil Armstrong
Browse files

drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init



of_graph_get_remote_node() returns remote device nodepointer with
refcount incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: e67f6037 ("drm/meson: split out encoder from meson_dw_hdmi")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220601033927.47814-3-linmq006@gmail.com
parent 7d255ddb
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