linux_dsm_epyc7002/drivers/media/video/et61x251
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
..
et61x251_core.c [media] v4l: fix handling of v4l2_input.capabilities 2010-12-30 08:02:29 -02:00
et61x251_sensor.h V4L/DVB (6577): et61x251/: make 5 functions static 2008-01-25 19:02:05 -02:00
et61x251_tas5130d1b.c V4L/DVB (5766): ET61x251 driver updates 2007-07-18 14:24:08 -03:00
et61x251.h V4L/DVB (7523): media/video/et61x251 replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:59 -03:00
Kconfig V4L/DVB (14005): media/video Kconfig: Mark gspca superceeded drivers as deprecated 2010-02-26 15:10:41 -03:00
Makefile V4L/DVB (3599a): Move drivers/usb/media to drivers/media/video 2006-03-25 09:29:04 -03:00