summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2015-02-13 04:42:37 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 08:56:26 -0300
commit4879785ed511083676f27a016c9ad6c46c8e5737 (patch)
tree950fd9fa766afab16964445b613959b6be4413cd /scripts/basic
parenta0f10c131cc49d7d84394beb7903e1f246331224 (diff)
[media] vb2: Fix dma_dir setting for dma-contig mem type
The last argument of vb2_dc_get_user_pages() is of type enum dma_data_direction, but the caller, vb2_dc_get_userptr() passes a value which is the result of comparison dma_dir == DMA_FROM_DEVICE. This results in the write parameter to get_user_pages() being zero in all cases, i.e. that the caller has no intent to write there. This was broken by patch "vb2: replace 'write' by 'dma_dir'". Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Cc: stable@vger.kernel.org # for v3.19 Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions