[media] videobuf2-core: fill in length field for multiplanar buffers
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Sep 2012 09:24:18 +0000 (06:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:23:24 +0000 (22:23 -0300)
commit3c0b60618118745220bc0f9bf27e51e37367427c
tree3dddb4067a2d970eb8aac24944a127588f0c0f9a
parent32a772603173f9e1bf675c01e4649e3fe3b794bc
[media] videobuf2-core: fill in length field for multiplanar buffers

length should be set to num_planes in __fill_v4l2_buffer(). That way the
caller knows how many planes there are in the buffer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-core.c