[media] vb2: move dma_attrs to vb2_queue
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Apr 2016 12:15:05 +0000 (09:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 17:30:50 +0000 (14:30 -0300)
commitd16e832da23edff951015f108525ef31ae8dea37
tree066cc31eeb156bd5d3eb07b82258f8cea8074558
parentf61d500820d08be2cbce38bfe585a3ed009d2627
[media] vb2: move dma_attrs to vb2_queue

Make the dma attributes struct part of vb2_queue. This greatly simplifies
the remainder of the patch series since the dma_contig alloc context is
now (as before) just a struct device pointer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/videobuf2-core.c
drivers/media/v4l2-core/videobuf2-dma-contig.c
drivers/media/v4l2-core/videobuf2-dma-sg.c
drivers/media/v4l2-core/videobuf2-vmalloc.c
include/media/videobuf2-core.h
include/media/videobuf2-dma-contig.h