X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Fvideobuf2-core.c;fp=drivers%2Fmedia%2Fvideo%2Fvideobuf2-core.c;h=e7c52ff3c76138eb94601e9304bd85c2402b1fb1;hb=4907602f85d454c127d20ac943ead13e2919898d;hp=9bb92145ad5a311f0bdf4d0d5df95c0fd1b57fc7;hpb=2c2dd6ac738d8a22def46e073fb7383cac8fa180;p=~andy%2Flinux diff --git a/drivers/media/video/videobuf2-core.c b/drivers/media/video/videobuf2-core.c index 9bb92145ad5..e7c52ff3c76 100644 --- a/drivers/media/video/videobuf2-core.c +++ b/drivers/media/video/videobuf2-core.c @@ -131,6 +131,7 @@ static void __setup_offsets(struct vb2_queue *q, unsigned int n) continue; for (plane = 0; plane < vb->num_planes; ++plane) { + vb->v4l2_planes[plane].length = q->plane_sizes[plane]; vb->v4l2_planes[plane].m.mem_offset = off; dprintk(3, "Buffer %d, plane %d offset 0x%08lx\n",