commit | 05c79d0d1d0d44c2195d63d1e7c62e358eadeadf | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Mon Jan 21 06:51:41 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Feb 06 09:33:58 2013 -0200 |
tree | 80bcfd35aec18bb5c7bbb610219f33bc1e3982c9 | |
parent | f23999eccb5f1b6ec858279670307b5b1abe887a [diff] |
[media] uvcvideo: 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: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>