upstream: [media] vb2: move __qbuf_mmap before __qbuf_userptr
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Mar 2014 15:23:13 +0000 (12:23 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:48 +0000 (14:26 +0900)
commit46a5bf66342d64fc4fbb507283675ab25fc47167
tree7e7a9f29aa8befe959c3b76b7621ddfbea2cda1e
parent5b85767a8dfcb5565964c11a6296124ae1d1dd72
upstream: [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