mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
camera: fix uvc driver couldn't wake up when dequeue buffer is empty, if stream off device
This commit is contained in:
@@ -371,7 +371,7 @@ checks:
|
||||
((!list_empty(&queue->mainqueue)) || (!(queue->flags & UVC_QUEUE_STREAMING))));
|
||||
mutex_lock(&queue->mutex);
|
||||
|
||||
if (ret)
|
||||
if (ret || (!(queue->flags & UVC_QUEUE_STREAMING)))
|
||||
goto done;
|
||||
|
||||
goto checks;
|
||||
|
||||
Reference in New Issue
Block a user