drm/i915: Release and unlock on mmap_gtt error path.
commit13af10627676879d1b20ee3cdba9a28f0906dd98
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:31 +0000 (11 14:26 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:11 +0000 (20 12:21 +1000)
treee169cc0980db0a8db76688386dee6c869d6c2c22
parent2ebed176a7ee126448d34fc336afb2ea0238c280
drm/i915: Release and unlock on mmap_gtt error path.

We failed to unlock the mutex after failing to create the mmap offset.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_gem.c