linux-stable/drivers/usb/gadget
Michael Grzeschik 893b256261 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:05:17 +02:00
..
function usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR 2024-04-13 13:05:17 +02:00
legacy usb: raw-gadget: properly handle interrupted requests 2023-11-08 14:11:03 +01:00
udc usb: udc: remove warning when queue disabled ep 2024-04-03 15:19:52 +02:00
composite.c usb: gadget: Properly configure the device for remote wakeup 2024-03-06 14:45:05 +00:00
config.c
configfs.c usb: gadget: Properly configure the device for remote wakeup 2024-03-06 14:45:05 +00:00
configfs.h
epautoconf.c
functions.c
Kconfig
Makefile
u_f.c
u_f.h
u_os_desc.h
usbstring.c