commit | f05393d2eb45b3cc9663223c3709134ccef51290 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Jun 22 05:44:14 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Jul 06 17:29:14 2012 -0300 |
tree | bb4f0fd983a8454a872dfa41df441ff9458991f9 | |
parent | 37d9ed94b97efdacf1cbff91216920d1a620b8cd [diff] |
[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>