[media] vb2: add dma_dir to the alloc memop
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 18 Nov 2014 12:50:59 +0000 (09:50 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:51:44 +0000 (08:51 -0200)
commitd935c57e8fb6902a9ede603bb55d9e158f75f09a
treef2640e64127e2a8cc1fedc55830fc37aab3ae540
parentcd474037c4a9a9c15cab46ff26ceeed1bbda6abb
[media] vb2: add dma_dir to the alloc memop

This is needed for the next patch where the dma-sg alloc memop needs
to know the dma_dir.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.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