android_kernel_xiaomi_sm8350/drivers/media/video/zoran
Hans Verkuil 657f227105 [media] v4l: fix handling of v4l2_input.capabilities
The v4l core sets the v4l2_input.capabilities field based on the supplied
v4l2_ioctl_ops. However, several drivers do a memset or memcpy of the v4l2_input
struct, thus overwriting that field incorrectly.

Either remove the memset (which is already done by the v4l core), or add the
proper capabilities field in case of a memcpy.

The same is also true for v4l2_output, but that only affected the ivtv driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-30 08:02:29 -02:00
..
Kconfig
Makefile
videocodec.c
videocodec.h
zoran_card.c [media] zoran: remove V4L1 compat code and zoran custom ioctls 2010-12-29 08:17:07 -02:00
zoran_card.h
zoran_device.c [media] zoran: bit-wise vs logical and 2010-12-29 08:17:03 -02:00
zoran_device.h
zoran_driver.c [media] v4l: fix handling of v4l2_input.capabilities 2010-12-30 08:02:29 -02:00
zoran_procfs.c
zoran_procfs.h
zoran.h [media] zoran: remove V4L1 compat code and zoran custom ioctls 2010-12-29 08:17:07 -02:00
zr36016.c
zr36016.h
zr36050.c
zr36050.h
zr36057.h
zr36060.c
zr36060.h