Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-06-04 Thread Michael Grzeschik
Hi Felipe, On Mon, Apr 29, 2013 at 09:29:50AM +0300, Felipe Balbi wrote: On Tue, Apr 23, 2013 at 01:36:33PM +0200, Laurent Pinchart wrote: On Tuesday 23 April 2013 14:16:56 Felipe Balbi wrote: On Mon, Apr 15, 2013 at 02:45:39PM +0200, Laurent Pinchart wrote: Those optional operations

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-04-29 Thread Felipe Balbi
On Tue, Apr 23, 2013 at 01:36:33PM +0200, Laurent Pinchart wrote: On Tuesday 23 April 2013 14:16:56 Felipe Balbi wrote: On Mon, Apr 15, 2013 at 02:45:39PM +0200, Laurent Pinchart wrote: Those optional operations are used to release and reacquire the queue lock when videobuf2 needs

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-04-23 Thread Felipe Balbi
Hi, On Mon, Apr 15, 2013 at 02:45:39PM +0200, 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 for a buffer to be complete. Implement them to

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-04-23 Thread Laurent Pinchart
On Tuesday 23 April 2013 14:16:56 Felipe Balbi wrote: On Mon, Apr 15, 2013 at 02:45:39PM +0200, 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

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-04-15 Thread Michael Grzeschik
Hi Laurent, On Mon, Feb 11, 2013 at 08:43:44PM +0100, Laurent Pinchart wrote: Hi Michael, Thanks for the patch. On Saturday 09 February 2013 00:54:54 Michael Grzeschik wrote: Those optional operations are used to release and reacquire the queue lock when videobuf2 needs to perform

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-04-15 Thread Laurent Pinchart
Hi Michael, On Monday 15 April 2013 14:36:27 Michael Grzeschik wrote: On Mon, Feb 11, 2013 at 08:43:44PM +0100, Laurent Pinchart wrote: On Saturday 09 February 2013 00:54:54 Michael Grzeschik wrote: Those optional operations are used to release and reacquire the queue lock when videobuf2

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-02-11 Thread Laurent Pinchart
Hi Michael, Thanks for the patch. On Saturday 09 February 2013 00:54:54 Michael Grzeschik 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 for a buffer to be complete.

[PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-02-08 Thread Michael Grzeschik
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: