Re: [PATCH v6 6/8] drm: writeback: Add missing cleanup in case of initialization failure

2025-01-06 Thread Maxime Ripard
On Mon, Dec 30, 2024 at 07:37:36PM +0100, Louis Chauvet wrote: > 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. > > Signed-off-b

[PATCH v6 6/8] drm: writeback: Add missing cleanup in case of initialization failure

2024-12-30 Thread Louis Chauvet
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. Signed-off-by: Louis Chauvet --- drivers/gpu/drm/drm_writeback.c | 15 +++--