diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-05-21 10:54:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-31 17:18:35 +0200 |
commit | fd89e0bb6ebff6481b9b8dd73729f5d62984490a (patch) | |
tree | 71157c3daf10469b97fdedc1eb61e4bdfa5e2da7 /drivers/media/dvb-core | |
parent | media: videobuf2-core: embed media_request_object (diff) | |
download | linux-fd89e0bb6ebff6481b9b8dd73729f5d62984490a.tar.xz linux-fd89e0bb6ebff6481b9b8dd73729f5d62984490a.zip |
media: videobuf2-core: integrate with media requests
Buffers can now be prepared or queued for a request.
A buffer is unbound from the request at vb2_buffer_done time or
when the queue is cancelled.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-core')
-rw-r--r-- | drivers/media/dvb-core/dvb_vb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb_vb2.c b/drivers/media/dvb-core/dvb_vb2.c index da6a8cec7d42..f1e7f0536028 100644 --- a/drivers/media/dvb-core/dvb_vb2.c +++ b/drivers/media/dvb-core/dvb_vb2.c @@ -384,7 +384,7 @@ int dvb_vb2_qbuf(struct dvb_vb2_ctx *ctx, struct dmx_buffer *b) { int ret; - ret = vb2_core_qbuf(&ctx->vb_q, b->index, b); + ret = vb2_core_qbuf(&ctx->vb_q, b->index, b, NULL); if (ret) { dprintk(1, "[%s] index=%d errno=%d\n", ctx->name, b->index, ret); |