linux/drivers/gpu/drm/omapdrm/dss
Laurent Pinchart 2a0a3ae17d drm/omap: dss: Cleanup DSS ports on initialisation failure
When the DSS initialises its output DPI and SDI ports, failures don't
clean up previous successfully initialised ports. This can lead to
resource leak or memory corruption. Fix it.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-22-laurent.pinchart@ideasonboard.com
2020-02-26 13:31:44 +02:00
..
base.c
dispc.c drm/omapdrm: use BUG_ON macro for error debugging. 2020-01-08 18:35:36 +01:00
dispc.h
dispc_coefs.c
display.c
dpi.c
dsi.c drm/omap: Remove set but not used variable 'tclk_trail' 2019-10-14 14:20:44 +03:00
dss-of.c
dss.c drm/omap: dss: Cleanup DSS ports on initialisation failure 2020-02-26 13:31:44 +02:00
dss.h
hdmi.h
hdmi4.c
hdmi4_cec.c
hdmi4_cec.h
hdmi4_core.c drm/omap: Remove set but not used variable 'err' in hdmi4_audio_config 2019-10-14 14:20:52 +03:00
hdmi4_core.h
hdmi5.c
hdmi5_core.c drm/omap: Remove set but not used variable 'err' in hdmi5_audio_config 2019-10-14 14:20:48 +03:00
hdmi5_core.h
hdmi_common.c
hdmi_phy.c
hdmi_pll.c
hdmi_wp.c
Kconfig drm/omap: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile drm/omap: dss: move platform_register_drivers() to dss.c and remove core.c 2019-10-04 11:30:28 +03:00
omapdss-boot-init.c drm/omap: fix possible object reference leak 2020-02-11 11:46:51 +02:00
omapdss.h
output.c Merge drm/drm-next into drm-misc-next 2019-10-03 16:38:50 +02:00
pll.c
sdi.c
venc.c
video-pll.c