diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-26 12:24:41 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-02-26 12:31:44 +0100 |
commit | 2a0a3ae17d36fa86dcf7c8e8d7b7f056ebd6c064 (patch) | |
tree | 0b0349ab3926ac7de843eafa84bc5bccd4601b08 /drivers/reset | |
parent | drm: Add helper to create a connector for a chain of bridges (diff) | |
download | linux-2a0a3ae17d36fa86dcf7c8e8d7b7f056ebd6c064.tar.xz linux-2a0a3ae17d36fa86dcf7c8e8d7b7f056ebd6c064.zip |
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
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions