summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_drawable.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/drm_drawable.c')
-rw-r--r--sys/dev/pci/drm/drm_drawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_drawable.c b/sys/dev/pci/drm/drm_drawable.c
index be4444bda42..4d6e1929a90 100644
--- a/sys/dev/pci/drm/drm_drawable.c
+++ b/sys/dev/pci/drm/drm_drawable.c
@@ -171,7 +171,7 @@ drm_update_draw(struct drm_device *dev, void *data, struct drm_file *file_priv)
/* For some reason the pointer arg is unsigned long long. */
ret = copyin((void *)(intptr_t)update->data, info->rects,
sizeof(*info->rects) * info->num_rects);
- DRM_SPINUNLOCK(&dev->drw_lock);
+ break;
default:
ret = EINVAL;
}