Clarify comment in last commit.
This commit is contained in:
parent
5af39c7521
commit
34a2befd8a
2
sys/external/bsd/drm2/dist/drm/drm_irq.c
vendored
2
sys/external/bsd/drm2/dist/drm/drm_irq.c
vendored
@ -1301,7 +1301,7 @@ int drm_wait_vblank(struct drm_device *dev, void *data,
|
||||
vblwait->request.sequence) <= (1 << 23)) ||
|
||||
!dev->irq_enabled));
|
||||
spin_unlock_irqrestore(&dev->vbl_lock, irqflags);
|
||||
if (ret < 0) /* Failed: do nothing. */
|
||||
if (ret < 0) /* Failed: return negative error as is. */
|
||||
;
|
||||
else if (ret == 0) /* Timed out: return -EBUSY like Linux. */
|
||||
ret = -EBUSY;
|
||||
|
Loading…
Reference in New Issue
Block a user