Re: [PATCH 1/2] v4l: soc-camera: start stream after queueing the buffers

2011-01-29 Thread Anatolij Gustschin
On Sat, 29 Jan 2011 20:16:42 +0100 (CET) Guennadi Liakhovetski wrote: ... > > --- a/drivers/media/video/soc_camera.c > > +++ b/drivers/media/video/soc_camera.c > > @@ -646,11 +646,11 @@ static int soc_camera_streamon(struct file *file, > > void *priv, > > if (icd->streamer != file) > >

Re: [PATCH 1/2] v4l: soc-camera: start stream after queueing the buffers

2011-01-29 Thread Guennadi Liakhovetski
On Wed, 26 Jan 2011, Anatolij Gustschin wrote: > 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 fra

[PATCH 1/2] v4l: soc-camera: start stream after queueing the buffers

2011-01-26 Thread Anatolij Gustschin
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 ---