aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-09-19 03:37:29 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-17 09:53:21 -0400
commitdc77523c5da5513df1bbc74db2a522a94f4cec0e (patch)
tree939bb39d84748d5b5415e942c775352a975a3387 /sound/arm
parent8ca5d2d8e58df7235b77ed435e63c484e123fede (diff)
[media] videobuf2-core: call __setup_offsets only for mmap memory type
__setup_offsets fills the v4l2_planes' mem_offset fields, which is only valid for V4L2_MEMORY_MMAP type buffers. For V4L2_MEMORY_DMABUF and _USERPTR buffers, this incorrectly overwrites the fd and userptr fields. Reported-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Pawel Osciak <pawel@osciak.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions