linux_dsm_epyc7002/drivers/media/video/gspca
Trent Piepho 5a27578667 V4L/DVB (11263): gspca: Stop setting buffer type, and avoid memset in querycap
The v4l2-ioctl core checks the buffer type now by only allowing buffer
types for which the corresponding ->vidioc_try_fmt_xxx() methods are
defined.

This driver only defines ->vidioc_try_fmt_vid_cap() so only VIDEO_CAPTURE
buffers are allowed to be used with vidioc_g_parm.  Also,
->vidioc_enum_fmt_vid_cap() is only called for VIDEO_CAPTURE buffers.
There is no need to set the buffer type since it must already be the
correct value.

The struct which ->vidioc_querycap() is supposed to fill in is already
zeroed so it's not necessary to call memset on it.

Cc: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30 12:43:44 -03:00
..
m5602 V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init. 2009-03-30 12:42:29 -03:00
stv06xx V4L/DVB (10342): gspca - stv06xx: Add ctrl caching to the vv6410. 2009-03-30 12:42:30 -03:00
conex.c V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. 2009-03-30 12:43:22 -03:00
etoms.c V4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam. 2009-03-30 12:42:31 -03:00
finepix.c V4L/DVB (11220): gspca - finepix: Use a workqueue for streaming. 2009-03-30 12:43:41 -03:00
gspca.c V4L/DVB (11263): gspca: Stop setting buffer type, and avoid memset in querycap 2009-03-30 12:43:44 -03:00
gspca.h V4L/DVB (11103): gspca - main: May have isochronous transfers on altsetting 0 2009-03-30 12:43:29 -03:00
jpeg.h V4L/DVB (11039): gspca - most jpeg subdrivers: Change the JPEG header creation. 2009-03-30 12:43:22 -03:00
Kconfig V4L/DVB (11213): gspca - sq905c: New subdriver. 2009-03-30 12:43:40 -03:00
Makefile V4L/DVB (11213): gspca - sq905c: New subdriver. 2009-03-30 12:43:40 -03:00
mars.c V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. 2009-03-30 12:43:22 -03:00
mr97310a.c V4L/DVB (10986): mr97310a: don't discard frame headers on stream output 2009-03-30 12:43:20 -03:00
ov519.c V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init. 2009-03-30 12:42:29 -03:00
ov534.c V4L/DVB (11106): gspca - ov534: New sensor ov965x and re-enable the webcam 06f8:3003 2009-03-30 12:43:29 -03:00
pac207.c V4L/DVB (10388): gspca - pac207: Webcam 093a:2474 added. 2009-03-30 12:42:34 -03:00
pac7311.c V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init. 2009-03-30 12:42:29 -03:00
pac_common.h V4L/DVB (8825): gspca: More controls for pac73xx and new webcam 093a:2624. 2008-09-03 18:37:38 -03:00
sonixb.c V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init. 2009-03-30 12:42:29 -03:00
sonixj.c V4L/DVB (11221): gspca - sonixj: Prefer sonixj instead of sn9c102 for 0471:0327. 2009-03-30 12:43:41 -03:00
spca500.c V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. 2009-03-30 12:43:22 -03:00
spca501.c V4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam. 2009-03-30 12:42:31 -03:00
spca505.c V4L/DVB (10618): gspca - some drivers: Fix compilation warnings. 2009-03-30 12:42:48 -03:00
spca506.c V4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam. 2009-03-30 12:42:31 -03:00
spca508.c V4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam. 2009-03-30 12:42:31 -03:00
spca561.c V4L/DVB (10371): gspca - spca561: Fix image problem in the 352x288 mode of rev72a. 2009-03-30 12:42:32 -03:00
sq905.c V4L/DVB (11219): gspca - sq905: Optimize the resolution setting. 2009-03-30 12:43:41 -03:00
sq905c.c V4L/DVB (11213): gspca - sq905c: New subdriver. 2009-03-30 12:43:40 -03:00
stk014.c V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. 2009-03-30 12:43:22 -03:00
sunplus.c V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. 2009-03-30 12:43:22 -03:00
t613.c V4L/DVB (11145): gspca - t613: Greater delay after om6802 reset. 2009-03-30 12:43:32 -03:00
tv8532.c V4L/DVB (10354): gspca - tv8532: Change the max brightness. 2009-03-30 12:42:31 -03:00
vc032x.c V4L/DVB (11212): gspca - vc032x: Use YVYU format for sensor mi1320_soc. 2009-03-30 12:43:40 -03:00
zc3xx-reg.h V4L/DVB (9868): gspca - zc3xx: Remove the duplicated register names 2008-12-30 09:38:58 -02:00
zc3xx.c V4L/DVB (11222): gspca - zc3xx: The webcam DLink DSB - C320 has the sensor pas106. 2009-03-30 12:43:41 -03:00