summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157_priv.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-11-18 09:51:08 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 09:09:19 -0200
commit251a79f8f5adfd816de4e052b5e3619a5a1d0910 (patch)
treea0fbe2c43a495a274de4c083c42a7cc8dc99055b /drivers/media/tuners/si2157_priv.h
parentf5294f455afd30bdc90f31d6d0101bb773e9ddba (diff)
downloadop-kernel-dev-251a79f8f5adfd816de4e052b5e3619a5a1d0910.zip
op-kernel-dev-251a79f8f5adfd816de4e052b5e3619a5a1d0910.tar.gz
[media] vb2: use dma_map_sg_attrs to prevent unnecessary sync
By default dma_map_sg syncs the mapped buffer to the device. But buf_prepare expects a buffer syncs for the cpu and the buffer will be synced to the device in the prepare memop. The reverse is true for dma_unmap_sg, buf_finish and the finish memop. To prevent unnecessary syncs we ask dma_(un)map_sg to skip the sync. 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>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud