android_kernel_xiaomi_sm8350/drivers/media/video/sn9c102
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
sn9c102_config.h
sn9c102_core.c [media] v4l: fix handling of v4l2_input.capabilities 2010-12-30 08:02:29 -02:00
sn9c102_devtable.h [media] gspca_sonixb: Add support for 0c45:602a 2010-12-29 08:17:01 -02:00
sn9c102_hv7131d.c V4L/DVB: sn9c102: Make hv7131d sensor code also recognize the HV7131E 2010-05-18 00:50:12 -03:00
sn9c102_hv7131r.c
sn9c102_mi0343.c
sn9c102_mi0360.c
sn9c102_mt9v111.c
sn9c102_ov7630.c
sn9c102_ov7660.c
sn9c102_pas106b.c
sn9c102_pas202bcb.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
sn9c102_sensor.h
sn9c102_tas5110c1b.c
sn9c102_tas5110d.c
sn9c102_tas5130d1b.c
sn9c102.h