aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pwc/pwc-if.c
diff options
context:
space:
mode:
authorTiffany Lin <[email protected]>2015-09-24 09:02:36 +0000
committerMauro Carvalho Chehab <[email protected]>2015-10-20 16:35:52 +0000
commitd9a985883fa32453d099d6293188c11d75cef1fa (patch)
treebf7c362092203e5832c3dc52208e17ce116c87a7 /drivers/media/usb/pwc/pwc-if.c
parent[media] smiapp: Export OF module alias information (diff)
downloadkernel-d9a985883fa32453d099d6293188c11d75cef1fa.tar.gz
kernel-d9a985883fa32453d099d6293188c11d75cef1fa.zip
[media] media: vb2 dma-contig: Fully cache synchronise buffers in prepare and finish
In videobuf2 dma-contig memory type the prepare and finish ops, instead of passing the number of entries in the original scatterlist as the "nents" parameter to dma_sync_sg_for_device() and dma_sync_sg_for_cpu(), the value returned by dma_map_sg() was used. Albeit this has been suggested in comments of some implementations (which have since been corrected), this is wrong. Fixes: 199d101efdba ("v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator") Cc: [email protected] # for v3.8 and up Signed-off-by: Tiffany Lin <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions