From: Michael Grzeschik Date: Fri, 8 Feb 2013 23:54:54 +0000 (+0100) Subject: usb: gadget: uvc: Implement videobuf2 .wait_prepare and .wait_finish operations X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~60^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2cc81d315c45cce35c0e50716fbee5dc00e28aa;p=pandora-kernel.git usb: gadget: uvc: Implement videobuf2 .wait_prepare and .wait_finish operations 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: Michael Grzeschik Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed