Skip to content
Commit a2cc81d3 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Felipe Balbi
Browse files

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: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 81fbf101
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment