[PATCH 3/4] drm/omap: fix DMM driver (un)registration

2014-04-02 Thread Tomi Valkeinen
On 02/04/14 17:14, Rob Clark wrote: > On Wed, Apr 2, 2014 at 8:37 AM, Tomi Valkeinen > wrote: >> At the moment the DMM driver is never unregistered, even if it's >> registered in the omapdrm module's init function. This means we'll get >> errors when reloading the omapdrm module. >> >> Fix this b

[PATCH 3/4] drm/omap: fix DMM driver (un)registration

2014-04-02 Thread Tomi Valkeinen
At the moment the DMM driver is never unregistered, even if it's registered in the omapdrm module's init function. This means we'll get errors when reloading the omapdrm module. Fix this by unregistering the DMM driver properly, and also change the module init to fail if DMM driver cannot be regis

[PATCH 3/4] drm/omap: fix DMM driver (un)registration

2014-04-02 Thread Rob Clark
On Wed, Apr 2, 2014 at 8:37 AM, Tomi Valkeinen wrote: > At the moment the DMM driver is never unregistered, even if it's > registered in the omapdrm module's init function. This means we'll get > errors when reloading the omapdrm module. > > Fix this by unregistering the DMM driver properly, and a