S3D V4L2: Fixed problem with vidioc_qbuf()
authorPavel Nedev <pnedev@mm-sol.com>
Thu, 26 May 2011 14:39:34 +0000 (17:39 +0300)
committerLeed Aguilar <leed.aguilar@ti.com>
Wed, 29 Jun 2011 21:29:29 +0000 (17:29 -0400)
commit3bc061ce6315c3b1014da1b8251978949e34ca90
tree4902ac825f6aaaae1ec0fe4f789b1c6b934d64f4
parentbcbc7912fa3267a8ed5c209591bbd8780a37f2ad
S3D V4L2: Fixed problem with vidioc_qbuf()

The condition under which to give new buffer to the overlays
in vidioc_qbuf() is changed. The idea was to send buffer to
the overlays in case of manually updated display and empty
buffer queue. If s3d_overlay_isr() is triggered between the
condition check and actual sending of the new buffer this
decision might get compromised as the buffer queue status
might have changed.

Change-Id: I1413067c26a0e9e41402200731a3269821c4baf1
Signed-off-by: Pavel Nedev <pnedev@mm-sol.com>
drivers/media/video/omap/omap_s3d_overlay.c