Re: [PATCH 1/3] ipuv3-crtc: add remove action for devres data

2019-04-03 Thread Daniel Vetter
On Tue, Apr 02, 2019 at 05:49:23PM +0200, Philipp Zabel wrote: > Hi Michael, > > On Tue, 2019-04-02 at 15:49 +0200, Michael Grzeschik wrote: > > The destroy function in drm_mode_config_cleanup will remove the objects > > in ipu-drm-core by calling its destroy functions if the bind function > > fai

[PATCH 1/3] ipuv3-crtc: add remove action for devres data

2019-04-02 Thread Michael Grzeschik
The destroy function in drm_mode_config_cleanup will remove the objects in ipu-drm-core by calling its destroy functions if the bind function fails. The drm_crtc is also part of the devres allocated ipu_crtc object. The ipu_crtc object will already be cleaned up if the bind for the crtc fails. This

Re: [PATCH 1/3] ipuv3-crtc: add remove action for devres data

2019-04-02 Thread Philipp Zabel
Hi Michael, On Tue, 2019-04-02 at 15:49 +0200, Michael Grzeschik wrote: > The destroy function in drm_mode_config_cleanup will remove the objects > in ipu-drm-core by calling its destroy functions if the bind function > fails. The drm_crtc is also part of the devres allocated ipu_crtc > object. Th