]> git.karo-electronics.de Git - linux-beck.git/commit
[media] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Tue, 9 Oct 2012 17:07:41 +0000 (14:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 25 Nov 2012 19:21:37 +0000 (17:21 -0200)
commita812a9665d7d89257f8203dba504a33faa59c45b
tree8af3b0a576ced5dad93f7ea50d889e5c9e378588
parentd81e870d5afa1b0a95ea94c4052d3c7e973fae8c
[media] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

Most operations on DMA and DMABUF framework require the size of a buffer to be
page aligned. This patch guarantees the requirement is satisfied for all
vb2-dma-contig buffers.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-dma-contig.c