diff options
author | Daniel J Blueman <daniel.blueman@gmail.com> | 2010-05-17 15:23:52 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-26 22:50:11 +0200 |
commit | f953c9353f5fe6e98fa7f32f51060a74d845b5f8 (patch) | |
tree | 3109f56f2cb384f646ae7e34b5d40ccc775818d6 /drivers/gpu/drm/i915/i915_drv.c | |
parent | drm/i915: Convert more trace events to DEFINE_EVENT (diff) | |
download | linux-f953c9353f5fe6e98fa7f32f51060a74d845b5f8.tar.xz linux-f953c9353f5fe6e98fa7f32f51060a74d845b5f8.zip |
i915: fix lock imbalance on error path...
While investigating Intel i5 Arrandale GPU lockups with -rc4, I
noticed a lock imbalance.
Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index d40f62d36453..c072b212979c 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -370,6 +370,7 @@ int i965_reset(struct drm_device *dev, u8 flags) } } else { DRM_ERROR("Error occurred. Don't know how to reset this chip.\n"); + mutex_unlock(&dev->struct_mutex); return -ENODEV; } |