[media] media: vb2: set buffer length correctly for all buffer types
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 13 Oct 2011 10:07:24 +0000 (07:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Nov 2011 11:05:23 +0000 (09:05 -0200)
commit4907602f85d454c127d20ac943ead13e2919898d
tree097da4672cb935b51badc36a411893ff0439c6bc
parent2c2dd6ac738d8a22def46e073fb7383cac8fa180
[media] media: vb2: set buffer length correctly for all buffer types

v4l2_planes[plane].length field was not initialized for userptr buffers.
This patch fixes this issue.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c