Re: [PATCH] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-02-05 Thread Laurent Pinchart
Hi Sean, On Monday 04 February 2013 12:36:47 Sean V Kelley wrote: > On Mon, Jan 21, 2013 at 2:51 AM, Laurent Pinchart wrote: > > Those optional operations are used to release and reacquire the queue > > lock when videobuf2 needs to perform operations that sleep for a long > > time, such as waiting

[PATCH] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-01-21 Thread Laurent Pinchart
Those optional operations are used to release and reacquire the queue lock when videobuf2 needs to perform operations that sleep for a long time, such as waiting for a buffer to be complete. Implement them to avoid blocking qbuf or streamoff calls when a dqbuf is in progress. Signed-off-by: Lauren