From: Tuukka Toivonen Date: Thu, 23 Jul 2009 13:56:25 +0000 (-0300) Subject: V4L/DVB (13165): videobuf do not force buffer size to be multiple of PAGE_SIZE X-Git-Tag: v2.6.33-rc1~338^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cbefad085c9112d0b1814db18423e5da072f5c8;p=pandora-kernel.git V4L/DVB (13165): videobuf do not force buffer size to be multiple of PAGE_SIZE When the image size (bytesperline*height) is not multiple of PAGE_SIZE, v4l2 rounded the required buffer size to be multiple of PAGE_SIZE. This prevented user space to store images directly into userptr buffers which were not multiple of PAGE_SIZE. This constraint is removed. The start address is still assumed to be required page-aligned, ie., when v4l2 allocates mmap buffers, the offset between different buffers is page-aligned. Signed-off-by: Tuukka Toivonen Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed