Re: [PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function
From: Maxime Ripard
Date: Tue Feb 21 2017 - 15:20:32 EST
On Fri, Feb 17, 2017 at 11:13:25AM +0800, Chen-Yu Tsai wrote:
> The master bind function calls numerous drm functions which initialize
> underlying structures. It also tries to bind the various components
> of the display pipeline, some of which may add additional drm objects.
> This patch adds proper cleanup functions in the error path of the
> master bind function.
> This requires the patch "drm/sun4i: Move drm_mode_config_cleanup call
> to main driver", which splits out drm_mode_config_cleanup from
> sun4i_framebuffer_free so we can call it separately.
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
Description: PGP signature