linux/drivers/media/common/videobuf2
Marek Szyprowski a704a3c503 media: videobuf2: use sgtable-based scatterlist wrappers
Use common wrappers operating directly on the struct sg_table objects to
fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*()
functions have to be called with the number of elements originally passed
to dma_map_sg_*() function, not the one returned in sgt->nents.

Fixes: d4db5eb57c ("media: videobuf2: add begin/end cpu_access callbacks to dma-sg")
CC: stable@vger.kernel.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-05-09 11:55:07 +02:00
..
frame_vector.c
Kconfig
Makefile
vb2-trace.c
videobuf2-core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
videobuf2-dma-contig.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
videobuf2-dma-sg.c media: videobuf2: use sgtable-based scatterlist wrappers 2025-05-09 11:55:07 +02:00
videobuf2-dvb.c
videobuf2-memops.c
videobuf2-v4l2.c media: videobuf2: check constants during build time 2025-04-25 15:14:29 +02:00
videobuf2-vmalloc.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00