diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-05-21 15:43:02 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-28 22:51:46 +0300 |
commit | 90b2da89a083e1395cb322521a42397c49ae4500 (patch) | |
tree | 97a2fbc817f87fb15a517292335a7a43395c4dd2 /init/do_mounts_md.c | |
parent | a024ee14cd36dba55fd77322f5d48ee0e55418ae (diff) | |
download | linux-90b2da89a083e1395cb322521a42397c49ae4500.tar.xz |
media: videobuf2-core: don't call memop 'finish' when queueing
When a buffer is queued or requeued in vb2_buffer_done, then don't
call the finish memop. In this case the buffer is only returned to vb2,
not to userspace.
Calling 'finish' here will cause an unbalance when the queue is
canceled, since the core will call the same memop again.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'init/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions