aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJernej Skrabec2024-01-14 11:03:14 +0100
committerPaul Kocialkowski2024-08-08 12:01:09 +0200
commitbcb08336fe421bedbfd9b244d95a0c4ac90962e5 (patch)
tree37004548867ffab5d27aacbdfe266c18387b1848
parent63cf02202281c3d78cca88fb5362b8deb79796fd (diff)
WIP: media: cedrus: Don't require requests for all codecs
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
-rw-r--r--drivers/staging/media/sunxi/cedrus/cedrus_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_video.c b/drivers/staging/media/sunxi/cedrus/cedrus_video.c
index 35c0f4977873..9655be4936d5 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus_video.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus_video.c
@@ -595,7 +595,7 @@ int cedrus_queue_init(void *priv, struct vb2_queue *src_vq,
src_vq->lock = &ctx->dev->dev_mutex;
src_vq->dev = ctx->dev->dev;
src_vq->supports_requests = true;
- src_vq->requires_requests = true;
+ src_vq->requires_requests = false;
ret = vb2_queue_init(src_vq);
if (ret)