[media] vb2: allow requeuing buffers while streaming
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 20 Jan 2015 15:18:16 +0000 (12:18 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 May 2015 16:38:32 +0000 (13:38 -0300)
commitce0eff016f7272faa6dc6eec722b1ca1970ff9aa
tree07fccd45e846c2c91cbf792a05634566ce6fc6fc
parentf888ae7e6a9e7c0ddc2aa78adc1299747f202516
[media] vb2: allow requeuing buffers while streaming

vb2_buffer_done() already allows STATE_QUEUED, but currently only when not
streaming. It is useful to allow it while streaming as well, as this makes
it possible for drivers to requeue buffers while waiting for a stable
video signal.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf2-core.c