From: Sylwester Nawrocki Date: Mon, 26 Aug 2013 14:47:09 +0000 (-0300) Subject: [media] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused' X-Git-Tag: v3.12-rc7~18^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c5c23c57717bf134a3c3f4af5886c7e08500e34;p=pandora-kernel.git [media] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused' Modify the bytesused/data_offset check to not fail if both bytesused and data_offset is set to 0. This should minimize possible issues in existing applications which worked before we enforced the plane lengths for output buffers checks introduced in commit 8023ed09cb278004a2 "videobuf2-core: Verify planes lengths for output buffers" Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Acked-by: Laurent Pinchart Acked-by: Marek Szyprowski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed