]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vb2: replace 'write' by 'dma_dir'
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 18 Nov 2014 12:50:58 +0000 (09:50 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:50:28 +0000 (08:50 -0200)
commit03998dd783ffc5da527686bfceba22ea1dbd24b9
tree17ce0741bc7879d60ca83c116afdf73254cb35e4
parent24bdf02ba91091d89da14ef06ff9f5b5a70f3781
[media] vb2: replace 'write' by 'dma_dir'

The 'write' argument is very ambiguous. I first assumed that if it is 1,
then we're doing video output but instead it meant the reverse.

Since it is used to setup the dma_dir value anyway it is now replaced by
the correct dma_dir value which is unambiguous.

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