[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240214-uvc-error-tag-v1-0-37659a3877fe@pengutronix.de>
Date: Wed, 14 Feb 2024 00:37:53 +0100
From: Michael Grzeschik <m.grzeschik@...gutronix.de>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Daniel Scally <dan.scally@...asonboard.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Michael Grzeschik <m.grzeschik@...gutronix.de>
Subject: [PATCH 0/2] usb: gadget: uvc: improve tagging transmit errors
This series contains patches to improve signaling of transmit errors on
gadget and host side. The gadget now will tag an frame with
UVC_STREAM_ERROR in the header for the host to know that the transferred
frame has errors. The gadget will also skip tagging the frame erroneous
if the request that got not transmitted to the host did not contain any
data.
Signed-off-by: Michael Grzeschik <m.grzeschik@...gutronix.de>
---
Michael Grzeschik (2):
usb: gadget: uvc: dont drop frames if zero length packages are late
usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR
drivers/usb/gadget/function/uvc_video.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
base-commit: 88bae831f3810e02c9c951233c7ee662aa13dc2c
change-id: 20240214-uvc-error-tag-7b7d25c8eeff
Best regards,
--
Michael Grzeschik <m.grzeschik@...gutronix.de>
Powered by blists - more mailing lists