From: Hans Verkuil Date: Fri, 22 Jun 2012 08:44:14 +0000 (-0300) Subject: [media] vb2-core: add support for count == 0 in create_bufs X-Git-Tag: v3.6-rc1~40^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05393d2eb45b3cc9663223c3709134ccef51290;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed