[media] V4L: soc-camera: start stream after queueing the buffers
authorAnatolij Gustschin <agust@denx.de>
Mon, 31 Jan 2011 12:19:32 +0000 (09:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:13 +0000 (20:32 -0300)
commit7fdbd85bce033e2d0f74e5d326ab43906653cb81
treec36c51eef45e1c3ffa52e0db9b478f4cd0ba3c6d
parented5b65dc362d488958075381d97931d865e77259
[media] V4L: soc-camera: start stream after queueing the buffers

Some camera systems have strong requirement for capturing
an exact number of frames after starting the stream and do
not tolerate losing captured frames. By starting the stream
after the videobuf has queued the buffers, we ensure that
no frame will be lost.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_camera.c