diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-01 07:39:27 +0400 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2022-06-07 14:25:16 +0200 |
commit | d82a5a4aae9d0203234737caed1bf470aa317568 (patch) | |
tree | 340297a4cd9a71530cd8b3d6dccc2c964a9fd52f /block/blk-pm.h | |
parent | 7d255ddbbf679aa47e041cbf68520fd985ed2279 (diff) |
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: e67f6037ae1b ("drm/meson: split out encoder from meson_dw_hdmi")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220601033927.47814-3-linmq006@gmail.com
Diffstat (limited to 'block/blk-pm.h')
0 files changed, 0 insertions, 0 deletions