]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: vb2: Share code between vb2_prepare_buf and vb2_qbuf
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Aug 2013 11:11:26 +0000 (08:11 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 22 Aug 2013 15:01:51 +0000 (12:01 -0300)
commitab50ebf5ea7138c04ee27f8f42ab34d4cd625d2f
treee6258ecde96ad9331d9b9c22ac6b79c68bccdddc
parent7f7686782367c99f1bde69a76bebee7720fa1966
[media] media: vb2: Share code between vb2_prepare_buf and vb2_qbuf

The two operations are very similar, refactor most of the code in a
helper function.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c