summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/adv7180.c
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2016-07-18 14:54:04 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-28 20:14:28 -0300
commit6cb164f551abfda045326ceb50bb4e5966a990c1 (patch)
treebc65bbdd8a72c85fd29c71e499c5a93666f376f7 /drivers/media/i2c/adv7180.c
parent9f8b333308dcb6af321526a54612cfaa7999a995 (diff)
downloadlinux-6cb164f551abfda045326ceb50bb4e5966a990c1.tar.gz
[media] vb2: Fix allocation size of dma_parms
When allocating memory to hold the device dma parameters in vb2_dma_contig_set_max_seg_size(), the requested size is by mistake only the size of a pointer. Request the correct size instead. Fixes: 3f0339691896 ("media: vb2-dma-contig: add helper for setting dma max seg size") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/adv7180.c')
0 files changed, 0 insertions, 0 deletions