diff options
author | Miaoqian Lin <[email protected]> | 2022-06-01 07:39:27 +0400 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2022-06-07 14:25:16 +0200 |
commit | d82a5a4aae9d0203234737caed1bf470aa317568 (patch) | |
tree | 340297a4cd9a71530cd8b3d6dccc2c964a9fd52f /lib/mpi/mpi-cmp.c | |
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 <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions