Commit 4de007ee authored by Louis Chauvet's avatar Louis Chauvet Committed by Paz Zcharya
Browse files

FROMGIT: drm: writeback: Add missing cleanup in case of initialization failure



The current implementation of drm_writeback_connector initialization does
not properly clean up all resources in case of failure (allocated
properties and possible_encoders). Add this cleaning in case of failure.

Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250116-google-vkms-managed-v9-6-3e4ae1bd05a0@bootlin.com


Signed-off-by: default avatarLouis Chauvet <louis.chauvet@bootlin.com>
(cherry picked from commit 2f3f4a73
 https://anongit.freedesktop.org/git/drm/drm-misc.git

 drm-misc-next)
Change-Id: If65d5fa96560f2dc0f23337f0bd6f16e8de3b7f5
Signed-off-by: default avatarPaz Zcharya <pazz@google.com>
parent 0d388fbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment