linux-stable/drivers/usb/gadget
Michael Grzeschik 4664aa8932 usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR
[ Upstream commit 2a3b7af120 ]

If an frame was transmitted incomplete to the host, we set the
UVC_STREAM_ERR bit in the header for the last request that is going
to be queued. This way the host will know that it should drop the
frame instead of trying to display the corrupted content.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20240214-uvc-error-tag-v1-2-37659a3877fe@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 13:10:09 +02:00
..
function usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR 2024-04-13 13:10:09 +02:00
legacy usb: gadget: webcam: Make g_webcam loadable again 2023-12-15 18:27:38 +01:00
udc usb: udc: remove warning when queue disabled ep 2024-04-03 15:32:47 +02:00
Kconfig usb: gadget: Add support for USB MIDI 2.0 function driver 2023-07-26 06:38:14 +02:00
Makefile
composite.c usb: gadget: composite: cleanup function config_ep_by_speed_and_alt() 2023-08-22 14:48:33 +02:00
config.c usb: gadget: config: remove max speed check in usb_assign_descriptors() 2023-08-22 14:48:33 +02:00
configfs.c usb: gadget: configfs: Replace snprintf() with the safer scnprintf() variant 2023-12-15 13:55:29 +01:00
configfs.h
epautoconf.c
functions.c
u_f.c
u_f.h
u_os_desc.h
usbstring.c