From: Laurent Pinchart Date: Fri, 9 Aug 2013 11:11:26 +0000 (-0300) Subject: [media] media: vb2: Share code between vb2_prepare_buf and vb2_qbuf X-Git-Tag: v3.12-rc1~135^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012043b8346b2e288a791ca4a0f4f9db815b8a0a;p=pandora-kernel.git [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 Reviewed-by: Hans Verkuil Acked-by: Marek Szyprowski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed