Skip to content
Snippets Groups Projects
Commit 5de4fbe0 authored by Sebastian Fricke's avatar Sebastian Fricke
Browse files

WIP: m2m: Allow jobs to be queued without a running CAP queue

parent ac59eafd
No related branches found
No related tags found
5 merge requests!72review fixes,!71wave5: Fix some bugs before v12,!70Draft: Multiple cleanups to finish the patches,!59V12 preview for review,!56cleanup v4l2 controls
......@@ -302,8 +302,11 @@ static void __v4l2_m2m_try_queue(struct v4l2_m2m_dev *m2m_dev,
dprintk("Trying to schedule a job for m2m_ctx: %p\n", m2m_ctx);
if (!m2m_ctx->out_q_ctx.q.streaming
|| !m2m_ctx->cap_q_ctx.q.streaming) {
dprintk("Streaming needs to be on for both queues\n");
|| (!m2m_ctx->cap_q_ctx.q.streaming && !m2m_ctx->cap_q_ctx.ignore_streaming)) {
if (!m2m_ctx->cap_q_ctx.ignore_streaming)
dprintk("Streaming needs to be on for both queues\n");
else
dprintk("Streaming needs to be on for the OUTPUT queue\n");
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment