LinuxTV Patchwork [PATCHv2,3/6] cedrus: set requires_requests

login
register
mail settings
Submitter Hans Verkuil
Date Feb. 11, 2019, 10:13 a.m.
Message ID <20190211101357.48754-4-hverkuil-cisco@xs4all.nl>
Download mbox | patch
Permalink /patch/54439/
State Superseded
Delegated to: Hans Verkuil
Headers show

Comments

Hans Verkuil - Feb. 11, 2019, 10:13 a.m.
The cedrus stateless decoder requires the use of request, so
indicate this by setting requires_requests to 1.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 drivers/staging/media/sunxi/cedrus/cedrus_video.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_video.c b/drivers/staging/media/sunxi/cedrus/cedrus_video.c
index b5cc79389d67..2c77d82a8527 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus_video.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus_video.c
@@ -526,6 +526,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;
 
 	ret = vb2_queue_init(src_vq);
 	if (ret)

Privacy Policy