[media] media: vb2: Convert vb2_dc_get_userptr() to use frame vector
authorJan Kara <jack@suse.cz>
Mon, 13 Jul 2015 14:55:49 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:13:46 +0000 (13:13 -0300)
commitfb639eb39154312af8bf08c58cc0142179e0c224
tree950f3e92fe7762b9f1eb966fc436aa1ae83ff4bc
parent5a9e4dec393a2c5a01be6adc63065059b367d532
[media] media: vb2: Convert vb2_dc_get_userptr() to use frame vector

Convert vb2_dc_get_userptr() to use frame vector infrastructure. When we
are doing that there's no need to allocate page array and some code can
be simplified.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf2-dma-contig.c