Skip to content

Commit

Permalink
i915: fix lock imbalance on error path...
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel J Blueman authored and Eric Anholt committed May 26, 2010
1 parent f41275e commit f953c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f953c93

Please sign in to comment.