-
- Downloads
[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>
Showing
- drivers/media/v4l2-core/videobuf2-core.c 6 additions, 4 deletionsdrivers/media/v4l2-core/videobuf2-core.c
- drivers/media/v4l2-core/videobuf2-dma-contig.c 21 additions, 19 deletionsdrivers/media/v4l2-core/videobuf2-dma-contig.c
- drivers/media/v4l2-core/videobuf2-dma-sg.c 7 additions, 6 deletionsdrivers/media/v4l2-core/videobuf2-dma-sg.c
- drivers/media/v4l2-core/videobuf2-vmalloc.c 9 additions, 7 deletionsdrivers/media/v4l2-core/videobuf2-vmalloc.c
- include/media/videobuf2-core.h 4 additions, 2 deletionsinclude/media/videobuf2-core.h
Loading
Please register or sign in to comment