summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSylwester Nawrocki2013-08-26 16:47:09 +0200
committerMauro Carvalho Chehab2013-09-24 18:40:56 +0200
commit3c5c23c57717bf134a3c3f4af5886c7e08500e34 (patch)
tree66652df354a5fabaf38c2e7138366d444c047a82 /mm
parent[media] mx3-camera: locking cleanup in mx3_videobuf_queue() (diff)
downloadkernel-qcow2-linux-3c5c23c57717bf134a3c3f4af5886c7e08500e34.tar.gz
kernel-qcow2-linux-3c5c23c57717bf134a3c3f4af5886c7e08500e34.tar.xz
kernel-qcow2-linux-3c5c23c57717bf134a3c3f4af5886c7e08500e34.zip
[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 <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions