drm/udl: unlock before returning in udl_gem_mmap()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 Mar 2012 06:30:56 +0000 (09:30 +0300)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2012 10:02:50 +0000 (11:02 +0100)
commitace281e8ab62e026b95c413db5f3c6beed42b829
treeb1c4c68d277a8d2ee328335ae8e36668e83cadba
parentc4c7f3149ba0b510047cb95d10f26ae1f6b89bc7
drm/udl: unlock before returning in udl_gem_mmap()

If we hit an error here, then we should unlock and unreference obj
before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_gem.c