summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 65ccc870..0ede1571 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -59,10 +59,8 @@ again:
}
ret = idr_get_new_above(&dev->mode_config.crtc_idr, ptr, 1, &new_id);
- if (ret == -EAGAIN) {
- spin_unlock(&dev->mode_config.config_lock);
- goto again;
- }
+ if (ret == -EAGAIN)
+ goto again;
return new_id;
}