kernel_samsung_a53x/drivers/media/common
Yunke Cao 42c97db126 media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()
[ Upstream commit 6a9c97ab6b7e85697e0b74e86062192a5ffffd99 ]

Clear vb2_plane's memory related fields in __vb2_plane_dmabuf_put(),
including bytesused, length, fd and data_offset.

Remove the duplicated code in __prepare_dmabuf().

Signed-off-by: Yunke Cao <yunkec@chromium.org>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:50 +01:00
..
b2c2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
saa7146 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
siano Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
v4l2-tpg media: v4l2-tpg: fix some memleaks in tpg_alloc 2024-11-19 08:44:51 +01:00
videobuf2 media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put() 2024-11-23 23:21:50 +01:00
btcx-risc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx2341x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_firmware.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_firmware.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tveeprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00