drm/omap: page_flip: return -EBUSY if flip pending
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Sep 2014 19:25:50 +0000 (19:25 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:33:24 +0000 (13:33 +0200)
commit549a75498151370214f86eacc788a5832ac01e59
tree7958a6a101ddc9ff15e65d7cc8f7be4a7cfb54cd
parent173372975457ca0fa0acddf60d087976bacb6ab3
drm/omap: page_flip: return -EBUSY if flip pending

The DRM documentation says:

"If a page flip is already pending, the page_flip operation must return
-EBUSY."

Currently omapdrm returns -EINVAL instead. Fix omapdrm by returning
-EBUSY.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c