1
0
Fork 0

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>
hifive-unleashed-5.1
Daniel J Blueman 2010-05-17 14:23:52 +01:00 committed by Eric Anholt
parent f41275e893
commit f953c9353f
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}