[media] vb2: move __qbuf_mmap before __qbuf_userptr
commitdcc2428a5e930aa7c0f40840a946b68a396ceae6
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Mar 2014 15:23:13 +0000 (10 12:23 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:45:06 +0000 (16 18:45 -0300)
tree78d227167946a3c902462bf449419f5c1ab02a36
parentfd4354cf528ab28322374b7fdbcaa2c9828e53f4
[media] vb2: move __qbuf_mmap before __qbuf_userptr

__qbuf_mmap was sort of hidden in between the much larger __qbuf_userptr
and __qbuf_dmabuf functions. Move it before __qbuf_userptr which is
also conform the usual order these memory models are implemented: first
mmap, then userptr, then dmabuf.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c