summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-18 19:16:51 +1100
committerDave Airlie <airlied@redhat.com>2007-12-18 19:16:51 +1100
commit01f905c1779279811d4f0467da4bdf33ff786c86 (patch)
treefe38d33976b6824c5070747d9a18f9718b3913c0
parentb13dc383df85d75cb1ea422f4d13efc2a4a8a732 (diff)
we should not be unlocking this here
-rw-r--r--linux-core/drm_crtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 9a840ea1..405b54b7 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -165,7 +165,6 @@ struct drm_framebuffer *drm_framebuffer_create(struct drm_device *dev)
/* Limit to single framebuffer for now */
if (dev->mode_config.num_fb > 1) {
- mutex_unlock(&dev->mode_config.mutex);
DRM_ERROR("Attempt to add multiple framebuffers failed\n");
return NULL;
}