]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[media] media/videobuf2-dma-contig: Save output from dma_map_sg
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Wed, 29 Apr 2015 12:00:46 +0000 (09:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:29:06 +0000 (11:29 -0300)
commit60a471923869394a47c10262d080286eb01451b5
tree8673d13d18f80c04b1cd5997f6b79526ff4b15a3
parent6a5d77cbf26078e9ee8f88c7d77fe0a7fa4a0364
[media] media/videobuf2-dma-contig: Save output from dma_map_sg

dma_map_sg returns the number of areas mapped by the hardware,
which could be different than the areas given as an input.
The output must be saved to nent.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf2-dma-contig.c