linux/drivers/gpu/drm/tiny
Luca Ceresoli c6ae0d9926 drm/arcpgu: fix device node leak
commit ad3ac32a38 upstream.

This function gets a device_node reference via
of_graph_get_remote_port_parent() and stores it in encoder_node, but never
puts that reference. Add it.

There used to be a of_node_put(encoder_node) but it has been removed by
mistake during a rework in commit 3ea66a794f ("drm/arc: Inline
arcpgu_drm_hdmi_init").

Fixes: 3ea66a794f ("drm/arc: Inline arcpgu_drm_hdmi_init")
Cc: stable@vger.kernel.org
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Link: https://patch.msgid.link/20260402-drm-arcgpu-fix-device-node-leak-v2-1-d773cf754ae5@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-06-01 17:35:15 +02:00
..
arcpgu.c drm/arcpgu: fix device node leak 2026-06-01 17:35:15 +02:00
bochs.c drm/bochs: fix blanking 2022-10-26 12:34:54 +02:00
cirrus.c drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update() 2023-03-30 12:47:52 +02:00
gm12u320.c drm: gm12u320: Fix the timeout usage for usb_bulk_msg() 2023-09-23 11:10:01 +02:00
hx8357d.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9225.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9341.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9486.c drm/tiny: ili9486: Do not assume 8-bit only SPI controllers 2023-03-10 09:39:52 +01:00
Kconfig drivers/firmware: consolidate EFI framebuffer setup for all arches 2021-07-21 12:04:56 +02:00
Makefile drm/bochs: Move to tiny/ 2021-07-05 08:54:44 +02:00
mi0283qt.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
repaper.c drm/repaper: fix integer overflows in repeat functions 2025-05-02 07:44:14 +02:00
simpledrm.c drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 2022-08-03 12:03:43 +02:00
st7586.c drm/st7586: Use framebuffer dma-buf helpers 2021-07-23 20:18:14 +02:00
st7735r.c drm/st7735r: Fix module autoloading for Okaya RH128128T 2022-08-17 14:23:16 +02:00