drm/udl: take reference to device struct for dma-bufs
authorDave Airlie <airlied@redhat.com>
Tue, 25 Mar 2014 04:38:44 +0000 (14:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Mar 2014 02:19:50 +0000 (02:19 +0000)
this stops the device from being deleted before all the dma-bufs
on it are freed, this fixes an oops when you unplug a udl device while
it has imported a buffer from another device.

Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found