[PATCH] drm: rcar-du: Only unwindow as necessary on probe failure

2016-04-12 Thread Geert Uytterhoeven
Hi Sjoerd, On Wed, Apr 6, 2016 at 11:45 AM, Sjoerd Simons wrote: > Simply calling rcar_du_remove on any error can cause unbalanced calls to > various functions (e.g. drm_connector_register/unregister, > drm_dev_register/drm_dev_unref). > > This can be seen at bootup of my Porter boards with curre

[PATCH] drm: rcar-du: Only unwindow as necessary on probe failure

2016-04-06 Thread Sjoerd Simons
Simply calling rcar_du_remove on any error can cause unbalanced calls to various functions (e.g. drm_connector_register/unregister, drm_dev_register/drm_dev_unref). This can be seen at bootup of my Porter boards with current next: [2.789322] rcar-du feb0.display: failed to initialize DRM/