diff options
author | 2012-06-22 05:44:14 -0300 | |
---|---|---|
committer | 2012-07-06 17:29:14 -0300 | |
commit | f05393d2eb45b3cc9663223c3709134ccef51290 (patch) | |
tree | bb4f0fd983a8454a872dfa41df441ff9458991f9 /include/media/v4l2-dev.h | |
parent | [media] vb2-core: refactor reqbufs/create_bufs (diff) | |
download | linux-dev-f05393d2eb45b3cc9663223c3709134ccef51290.tar.xz linux-dev-f05393d2eb45b3cc9663223c3709134ccef51290.zip |
[media] vb2-core: add support for count == 0 in create_bufs
This also fixes incorrect error handling in create_bufs: the return code
of __vb2_queue_alloc is the number of allocated buffers, and not a
traditional error code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-dev.h')
0 files changed, 0 insertions, 0 deletions