[PATCH v4 22/22] drm: omapdrm: Perform initialization/cleanup at probe/remove time

2016-12-16 Thread Laurent Pinchart
Hi Tomi, On Friday 16 Dec 2016 14:44:26 Tomi Valkeinen wrote: > On 14/12/16 02:27, Laurent Pinchart wrote: > > The drm driver .load() operation is prone to race conditions as it > > initializes the driver after registering the device nodes. Its usage is > > deprecated, inline it in the probe funct

[PATCH v4 22/22] drm: omapdrm: Perform initialization/cleanup at probe/remove time

2016-12-16 Thread Tomi Valkeinen
On 14/12/16 02:27, Laurent Pinchart wrote: > The drm driver .load() operation is prone to race conditions as it > initializes the driver after registering the device nodes. Its usage is > deprecated, inline it in the probe function and call drm_dev_alloc() and > drm_dev_register() explicitly. > >

[PATCH v4 22/22] drm: omapdrm: Perform initialization/cleanup at probe/remove time

2016-12-14 Thread Laurent Pinchart
The drm driver .load() operation is prone to race conditions as it initializes the driver after registering the device nodes. Its usage is deprecated, inline it in the probe function and call drm_dev_alloc() and drm_dev_register() explicitly. For consistency inline the .unload() handler in the rem