Re: [PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function

2017-02-21 Thread Maxime Ripard
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

[PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function

2017-02-17 Thread Chen-Yu Tsai
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.